Fix SRet for thiscall in i686-pc-win32
[oota-llvm.git] / test / CodeGen / Generic / isunord.ll
index 1495bd0bb238dadb8d9e74af09aa5396c5752638..ebbba010793b3b4a640e528dbaee88399e73346c 100644 (file)
@@ -1,10 +1,9 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc
-; XFAIL: ia64
+; RUN: llc < %s
 
+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
 }
+