X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FExecutionEngine%2Ftest-setcond-fp.ll;h=68276e617a4a1bf5188b6e725566f3593d39b9c7;hb=67ca7b1bb07e331981e700cc4cc5944f68a9e256;hp=9191e3fc09e86096fab6e3686c54679a8be76b18;hpb=1749d6359be1e815cfac3295b4145203986fd74b;p=oota-llvm.git diff --git a/test/ExecutionEngine/test-setcond-fp.ll b/test/ExecutionEngine/test-setcond-fp.ll index 9191e3fc09e..68276e617a4 100644 --- a/test/ExecutionEngine/test-setcond-fp.ll +++ b/test/ExecutionEngine/test-setcond-fp.ll @@ -1,20 +1,24 @@ +; RUN: %lli %s > /dev/null -void %main() { - %double1 = add double 0.0, 0.0 - %double2 = add double 0.0, 0.0 - %float1 = add float 0.0, 0.0 - %float2 = add float 0.0, 0.0 - %test49 = seteq float %float1, %float2 - %test50 = setge float %float1, %float2 - %test51 = setgt float %float1, %float2 - %test52 = setle float %float1, %float2 - %test53 = setlt float %float1, %float2 - %test54 = setne float %float1, %float2 - %test55 = seteq double %double1, %double2 - %test56 = setge double %double1, %double2 - %test57 = setgt double %double1, %double2 - %test58 = setle double %double1, %double2 - %test59 = setlt double %double1, %double2 - %test60 = setne double %double1, %double2 - ret void + +define i32 @main() { + %double1 = fadd double 0.000000e+00, 0.000000e+00 ; [#uses=6] + %double2 = fadd double 0.000000e+00, 0.000000e+00 ; [#uses=6] + %float1 = fadd float 0.000000e+00, 0.000000e+00 ; [#uses=6] + %float2 = fadd float 0.000000e+00, 0.000000e+00 ; [#uses=6] + %test49 = fcmp oeq float %float1, %float2 ; [#uses=0] + %test50 = fcmp oge float %float1, %float2 ; [#uses=0] + %test51 = fcmp ogt float %float1, %float2 ; [#uses=0] + %test52 = fcmp ole float %float1, %float2 ; [#uses=0] + %test53 = fcmp olt float %float1, %float2 ; [#uses=0] + %test54 = fcmp une float %float1, %float2 ; [#uses=0] + %test55 = fcmp oeq double %double1, %double2 ; [#uses=0] + %test56 = fcmp oge double %double1, %double2 ; [#uses=0] + %test57 = fcmp ogt double %double1, %double2 ; [#uses=0] + %test58 = fcmp ole double %double1, %double2 ; [#uses=0] + %test59 = fcmp olt double %double1, %double2 ; [#uses=0] + %test60 = fcmp une double %double1, %double2 ; [#uses=0] + ret i32 0 } + +