diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-14 18:33:31 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-14 18:33:31 +0000 |
commit | 608266b2f5060fa1f81e635775397ec2b4158bdb (patch) | |
tree | 3d4112e8c59b77cf462788c22d7c58b9cba2e0b2 | |
parent | a43b3f2693c7b50336370d87c54d05d48bca0869 (diff) |
Fix a test test llvm.exp found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36006 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/InstCombine/binop-cast.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Transforms/InstCombine/binop-cast.ll b/test/Transforms/InstCombine/binop-cast.ll index 7ca0151159..ea5299ba87 100644 --- a/test/Transforms/InstCombine/binop-cast.ll +++ b/test/Transforms/InstCombine/binop-cast.ll @@ -1,7 +1,7 @@ -; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | notcast +; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast -uint %testAdd(int %X, int %Y) { - %tmp = add int %X, %Y - %tmp.l = sext int %tmp to uint - ret uint %tmp.l +define i32 @testAdd(i32 %X, i32 %Y) { + %tmp = add i32 %X, %Y + %tmp.l = bitcast i32 %tmp to i32 + ret i32 %tmp.l } |