aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/isunord.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/isunord.ll')
-rw-r--r--test/CodeGen/Generic/isunord.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/Generic/isunord.ll b/test/CodeGen/Generic/isunord.ll
index 1495bd0..589f496 100644
--- a/test/CodeGen/Generic/isunord.ll
+++ b/test/CodeGen/Generic/isunord.ll
@@ -1,10 +1,10 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc
+; RUN: llvm-as < %s | llc
; XFAIL: ia64
+declare i1 @llvm.isunordered.f64(double, double)
-declare bool %llvm.isunordered.f64(double, double)
-
-bool %test(double %X, double %Y) {
- %tmp27 = call bool %llvm.isunordered.f64( double %X, double %Y)
- ret bool %tmp27
+define i1 @test(double %X, double %Y) {
+ %tmp27 = fcmp uno double %X, %Y ; <i1> [#uses=1]
+ ret i1 %tmp27
}
+