aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-11 12:04:33 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-11 12:04:33 +0000
commit03703f0817825918941c9c28aa1af6ac95c8a5cf (patch)
tree49750f9cb55b2b6146d53ce01341c481eda39f49
parenta9297b1a09ae919c5b13a94350971f873fc92b4c (diff)
Fix to not give false positives.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35895 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Feature/fold-fpcast.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Feature/fold-fpcast.ll b/test/Feature/fold-fpcast.ll
index cb93ef8c82..0d975d4f76 100644
--- a/test/Feature/fold-fpcast.ll
+++ b/test/Feature/fold-fpcast.ll
@@ -1,4 +1,5 @@
-; RUN: llvm-as < %s | llvm-dis | not grep bitcast
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis -o /dev/null &&
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | not grep bitcast
int %test1() {
ret int bitcast(float 3.7 to int)