X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FExecutionEngine%2Ftest-setcond-fp.ll;h=68276e617a4a1bf5188b6e725566f3593d39b9c7;hb=54c251c77ff818dad2496f0069e780cf3cb9066f;hp=3f54d6f97ae1a85a846ce8b15f572caed8b1259a;hpb=b60528b8ab666e180e03f91b4942508f5ff3ca06;p=oota-llvm.git diff --git a/test/ExecutionEngine/test-setcond-fp.ll b/test/ExecutionEngine/test-setcond-fp.ll index 3f54d6f97ae..68276e617a4 100644 --- a/test/ExecutionEngine/test-setcond-fp.ll +++ b/test/ExecutionEngine/test-setcond-fp.ll @@ -1,23 +1,24 @@ -; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: %lli %s > /dev/null -int %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 int 0 +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 } + +