summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature/fold-fpcast.ll
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
commite165d7c3d7361f4ac8d1b9d1c733288c1252a06b (patch)
tree46b18e687740e8e6598e4f2fa018fc56327a0f64 /llvm/test/Feature/fold-fpcast.ll
parent77df76a3f54286f543476501da0f24d53518cbd7 (diff)
downloadbcm5719-llvm-e165d7c3d7361f4ac8d1b9d1c733288c1252a06b.tar.gz
bcm5719-llvm-e165d7c3d7361f4ac8d1b9d1c733288c1252a06b.zip
Fix to not give false positives.
llvm-svn: 35895
Diffstat (limited to 'llvm/test/Feature/fold-fpcast.ll')
-rw-r--r--llvm/test/Feature/fold-fpcast.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/Feature/fold-fpcast.ll b/llvm/test/Feature/fold-fpcast.ll
index cb93ef8c823..0d975d4f768 100644
--- a/llvm/test/Feature/fold-fpcast.ll
+++ b/llvm/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)
OpenPOWER on IntegriCloud