diff options
Diffstat (limited to 'test/ExecutionEngine/OrcMCJIT/2003-01-10-FUCOM.ll')
-rw-r--r-- | test/ExecutionEngine/OrcMCJIT/2003-01-10-FUCOM.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/ExecutionEngine/OrcMCJIT/2003-01-10-FUCOM.ll b/test/ExecutionEngine/OrcMCJIT/2003-01-10-FUCOM.ll new file mode 100644 index 0000000..7e2ce66 --- /dev/null +++ b/test/ExecutionEngine/OrcMCJIT/2003-01-10-FUCOM.ll @@ -0,0 +1,10 @@ +; RUN: %lli -jit-kind=orc-mcjit %s > /dev/null + +define i32 @main() { + %X = fadd double 0.000000e+00, 1.000000e+00 ; <double> [#uses=1] + %Y = fsub double 0.000000e+00, 1.000000e+00 ; <double> [#uses=2] + %Z = fcmp oeq double %X, %Y ; <i1> [#uses=0] + fadd double %Y, 0.000000e+00 ; <double>:1 [#uses=0] + ret i32 0 +} + |