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:
3952bc6
)
add a new testcase
author
Chris Lattner
<sabre@nondot.org>
Sat, 23 Apr 2005 15:31:03 +0000
(15:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 23 Apr 2005 15:31:03 +0000
(15:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21469
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 0be572577cb6d9600b4464d44ee8cb647284d734..843af1dbcd0a2e1e591ee98d281590ed6a1d4178 100644
(file)
--- a/
test/Transforms/InstCombine/select.ll
+++ b/
test/Transforms/InstCombine/select.ll
@@
-142,3
+142,9
@@
int %test16(bool %C, int* %P) {
%V = load int* %P2
ret int %V
}
+
+bool %test17(int* %X, bool %C) {
+ %R = select bool %C, int* %X, int* null
+ %RV = seteq int* %R, null
+ ret bool %RV
+}