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:
f1b5adb
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Sat, 9 Sep 2006 20:26:04 +0000
(20:26 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 9 Sep 2006 20:26:04 +0000
(20:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30229
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 843af1dbcd0a2e1e591ee98d281590ed6a1d4178..526a1bcefd8ebf1dd033236216d7aaa0df8115b3 100644
(file)
--- a/
test/Transforms/InstCombine/select.ll
+++ b/
test/Transforms/InstCombine/select.ll
@@
-148,3
+148,9
@@
bool %test17(int* %X, bool %C) {
%RV = seteq int* %R, null
ret bool %RV
}
+
+int %test18(int %X, int %Y, bool %C) {
+ %R = select bool %C, int %X, int 0
+ %V = div int %Y, %R ; div Y,X
+ ret int %V
+}