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 | 003eae5758ddfe74f97c31034ef2c4a6beb60e7e (patch) | |
tree | d976e8cf9d933c32868d72a94d1ec2d9d7205735 /test/ExecutionEngine/test-setcond-fp.ll | |
parent | 8628067377765b56339e988ca44e206b7ceb48cc (diff) | |
download | external_llvm-003eae5758ddfe74f97c31034ef2c4a6beb60e7e.zip external_llvm-003eae5758ddfe74f97c31034ef2c4a6beb60e7e.tar.gz external_llvm-003eae5758ddfe74f97c31034ef2c4a6beb60e7e.tar.bz2 |
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/test-setcond-fp.ll')
-rw-r--r-- | test/ExecutionEngine/test-setcond-fp.ll | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/test/ExecutionEngine/test-setcond-fp.ll b/test/ExecutionEngine/test-setcond-fp.ll index 3f54d6f..2f53e90 100644 --- a/test/ExecutionEngine/test-setcond-fp.ll +++ b/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 } + + |