diff options
| author | Tanya Lattner <tonic@nondot.org> | 2008-03-10 07:21:50 +0000 |
|---|---|---|
| committer | Tanya Lattner <tonic@nondot.org> | 2008-03-10 07:21:50 +0000 |
| commit | 5f4b355f209c772f438d33f3e60c04403d5462eb (patch) | |
| tree | 25f6441aedb4ae5e89993b0ebaca6817ef24acd2 /llvm/test/ExecutionEngine/test-setcond-fp.ll | |
| parent | b5d11980d9c54e4a0ebb3873ef89054726643658 (diff) | |
| download | bcm5719-llvm-5f4b355f209c772f438d33f3e60c04403d5462eb.tar.gz bcm5719-llvm-5f4b355f209c772f438d33f3e60c04403d5462eb.zip | |
Remove llvm-upgrade and update tests.
llvm-svn: 48137
Diffstat (limited to 'llvm/test/ExecutionEngine/test-setcond-fp.ll')
| -rw-r--r-- | llvm/test/ExecutionEngine/test-setcond-fp.ll | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/llvm/test/ExecutionEngine/test-setcond-fp.ll b/llvm/test/ExecutionEngine/test-setcond-fp.ll index 3f54d6f97ae..2f53e901870 100644 --- a/llvm/test/ExecutionEngine/test-setcond-fp.ll +++ b/llvm/test/ExecutionEngine/test-setcond-fp.ll @@ -1,23 +1,25 @@ -; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc +; RUN: llvm-as < %s -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 +define i32 @main() { + %double1 = add double 0.000000e+00, 0.000000e+00 ; <double> [#uses=6] + %double2 = add double 0.000000e+00, 0.000000e+00 ; <double> [#uses=6] + %float1 = add float 0.000000e+00, 0.000000e+00 ; <float> [#uses=6] + %float2 = add float 0.000000e+00, 0.000000e+00 ; <float> [#uses=6] + %test49 = fcmp oeq float %float1, %float2 ; <i1> [#uses=0] + %test50 = fcmp oge float %float1, %float2 ; <i1> [#uses=0] + %test51 = fcmp ogt float %float1, %float2 ; <i1> [#uses=0] + %test52 = fcmp ole float %float1, %float2 ; <i1> [#uses=0] + %test53 = fcmp olt float %float1, %float2 ; <i1> [#uses=0] + %test54 = fcmp une float %float1, %float2 ; <i1> [#uses=0] + %test55 = fcmp oeq double %double1, %double2 ; <i1> [#uses=0] + %test56 = fcmp oge double %double1, %double2 ; <i1> [#uses=0] + %test57 = fcmp ogt double %double1, %double2 ; <i1> [#uses=0] + %test58 = fcmp ole double %double1, %double2 ; <i1> [#uses=0] + %test59 = fcmp olt double %double1, %double2 ; <i1> [#uses=0] + %test60 = fcmp une double %double1, %double2 ; <i1> [#uses=0] + ret i32 0 } + + |

