projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d630d2
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Fri, 5 Jan 2007 02:16:36 +0000
(
02:16
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 5 Jan 2007 02:16:36 +0000
(
02:16
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32889
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/add.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/add.ll
b/test/Transforms/InstCombine/add.ll
index 55eba647f8aa895a69e30bebb8576e735c1541cc..aaf8548c0840faede8d1ee7fec6b1869add150cb 100644
(file)
--- a/
test/Transforms/InstCombine/add.ll
+++ b/
test/Transforms/InstCombine/add.ll
@@
-240,3
+240,9
@@
ubyte %test34(ubyte %A) {
ret ubyte %C
}
+define i32 %test34(i32 %a) { ;; -> -1
+ %tmpnot = xor i32 %a, -1
+ %tmp2 = add i32 %tmpnot, %a
+ ret i32 %tmp2
+}
+