summaryrefslogtreecommitdiff
path: root/test/Transforms/InstCombine/add.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-26 08:25:06 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-26 08:25:06 +0000
commite3ff5ada8a8f6cc166ecc45147da0d63c3683026 (patch)
treeccd4a6b0d605384b41f7d3b84cc019344c2dd65a /test/Transforms/InstCombine/add.ll
parent950bf6030101d670ea205efd307ea5d3b375544d (diff)
downloadllvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.gz
llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.bz2
llvm-e3ff5ada8a8f6cc166ecc45147da0d63c3683026.tar.xz
For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make the test parse properly or set the datalayout because defaults changes. For PR645: Make global names use the @ prefix. For llvm-upgrade changes: Fix test cases or completely remove use of llvm-upgrade for test cases that cannot survive the new renaming or upgrade capabilities. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/add.ll')
-rw-r--r--test/Transforms/InstCombine/add.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Transforms/InstCombine/add.ll b/test/Transforms/InstCombine/add.ll
index ec3aea3c87..033743c64f 100644
--- a/test/Transforms/InstCombine/add.ll
+++ b/test/Transforms/InstCombine/add.ll
@@ -241,9 +241,9 @@ ubyte %test34(ubyte %A) {
ret ubyte %C
}
-i32 %test34(i32 %a) { ;; -> -1
- %tmpnot = xor i32 %a, -1
- %tmp2 = add i32 %tmpnot, %a
- ret i32 %tmp2
+int %test34(int %a) { ;; -> -1
+ %tmpnot = xor int %a, -1
+ %tmp2 = add int %tmpnot, %a
+ ret int %tmp2
}