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:
9a8b490
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Fri, 9 Apr 2004 18:19:29 +0000
(18:19 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 9 Apr 2004 18:19:29 +0000
(18:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12792
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/select.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/select.ll
b/test/Transforms/InstCombine/select.ll
index 511302e2a3b1165a13eb165993ec3498da86e1cf..b09cae4d7ab6b7b24e94fe53e3aaf822c91f5ec4 100644
(file)
--- a/
test/Transforms/InstCombine/select.ll
+++ b/
test/Transforms/InstCombine/select.ll
@@
-54,3
+54,10
@@
bool %test10(bool %C, bool %X) {
%R = select bool %C, bool %X, bool true ; R = or !C, X
ret bool %R
}
+
+int %test11(int %a) {
+ %C = seteq int %a, 0
+ %R = select bool %C, int 0, int 1
+ ret int %R
+}
+