diff options
Diffstat (limited to 'test/ExecutionEngine/test-setcond-fp.ll')
-rw-r--r-- | test/ExecutionEngine/test-setcond-fp.ll | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/ExecutionEngine/test-setcond-fp.ll b/test/ExecutionEngine/test-setcond-fp.ll new file mode 100644 index 0000000..3f54d6f --- /dev/null +++ b/test/ExecutionEngine/test-setcond-fp.ll @@ -0,0 +1,23 @@ +; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc +; RUN: lli %t.bc > /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 +} |