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:
1c48527
)
Another testcase
author
Chris Lattner
<sabre@nondot.org>
Fri, 9 Apr 2004 23:47:52 +0000
(23:47 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 9 Apr 2004 23:47:52 +0000
(23:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12802
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 af985f2b3ba68573fbbc41aa9d8cc0e9ffdd1960..e7548fb81b53eee1b2134d56128eae0547c6b18f 100644
(file)
--- a/
test/Transforms/InstCombine/add.ll
+++ b/
test/Transforms/InstCombine/add.ll
@@
-116,3
+116,11
@@
ubyte %test18(ubyte %A) {
%C = add ubyte %B, 17 ; == sub ubyte 16, %A
ret ubyte %C
}
+
+int %test19(bool %C) {
+ %A = select bool %C, int 1000, int 10
+ %V = add int %A, 123
+ ret int %V
+}
+
+