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 | 2441c0ae3e4cebe0872ff8ebcf2c4c59a98f04c0 (patch) | |
tree | 4ebbfcf404354fd54e985795210ce22db1c30416 /llvm/test | |
parent | 7e4bde71c5ccf0226dad12fac0dbb17492932bb9 (diff) | |
download | bcm5719-llvm-2441c0ae3e4cebe0872ff8ebcf2c4c59a98f04c0.tar.gz bcm5719-llvm-2441c0ae3e4cebe0872ff8ebcf2c4c59a98f04c0.zip |
Fix a test test llvm.exp found.
llvm-svn: 36006
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/Transforms/InstCombine/binop-cast.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/Transforms/InstCombine/binop-cast.ll b/llvm/test/Transforms/InstCombine/binop-cast.ll index 7ca01511597..ea5299ba876 100644 --- a/llvm/test/Transforms/InstCombine/binop-cast.ll +++ b/llvm/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 } |