OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a93dfcd
)
new testcase I forgot to check in earlier
author
Chris Lattner
<sabre@nondot.org>
Sun, 5 Mar 2006 23:53:04 +0000
(23:53 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 5 Mar 2006 23:53:04 +0000
(23:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26565
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
52dfc39
..
81ab29a
100644
(file)
--- a/
test/Transforms/InstCombine/add.ll
+++ b/
test/Transforms/InstCombine/add.ll
@@
-220,3
+220,10
@@
int %test31(int %A) {
%D = sub int %C, 20
ret int %D
}
+
+int %test32(int %A) {
+ %B = add int %A, 4
+ %C = shl int %B, ubyte 2
+ %D = sub int %C, 16
+ ret int %D
+}