X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FGeneric%2Fisunord.ll;h=ebbba010793b3b4a640e528dbaee88399e73346c;hb=e880efe446f731b73558542c12a6f980b8baa765;hp=f11ec33736673efa8c848f946551c8af7f8f6bc1;hpb=69ccadd7535a83b348595cf603126e6a68b2883b;p=oota-llvm.git diff --git a/test/CodeGen/Generic/isunord.ll b/test/CodeGen/Generic/isunord.ll index f11ec337366..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|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 } +