X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FGeneric%2Fisunord.ll;h=ebbba010793b3b4a640e528dbaee88399e73346c;hb=e880efe446f731b73558542c12a6f980b8baa765;hp=2b94a1386d2a0f829cb083a418b07047589779c1;hpb=dda73c12e9c8fded044a7f51c10e7a8c147b3c88;p=oota-llvm.git diff --git a/test/CodeGen/Generic/isunord.ll b/test/CodeGen/Generic/isunord.ll index 2b94a1386d2..ebbba010793 100644 --- a/test/CodeGen/Generic/isunord.ll +++ b/test/CodeGen/Generic/isunord.ll @@ -1,10 +1,9 @@ -; RUN: llvm-as < %s | llc -; XFAIL: alpha|ia64|sparcv8 +; RUN: llc < %s +declare i1 @llvm.isunordered.f64(double, double) -declare bool %llvm.isunordered(double, double) - -bool %test(double %X, double %Y) { - %tmp27 = call bool %llvm.isunordered( 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 } +