X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FGeneric%2Fisunord.ll;h=ebbba010793b3b4a640e528dbaee88399e73346c;hb=eea35066abc904b31dc36d6d6b6ab988b281c854;hp=1495bd0bb238dadb8d9e74af09aa5396c5752638;hpb=23f7f5898ea0e618bfe3937b78bae2dd56c13b49;p=oota-llvm.git diff --git a/test/CodeGen/Generic/isunord.ll b/test/CodeGen/Generic/isunord.ll index 1495bd0bb23..ebbba010793 100644 --- a/test/CodeGen/Generic/isunord.ll +++ b/test/CodeGen/Generic/isunord.ll @@ -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 ; [#uses=1] + ret i1 %tmp27 } +