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:
45aaafe
)
Add a slight variant of test10
author
Chris Lattner
<sabre@nondot.org>
Mon, 23 Feb 2004 05:59:52 +0000
(
05:59
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 23 Feb 2004 05:59:52 +0000
(
05:59
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11736
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/mul.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/mul.ll
b/test/Transforms/InstCombine/mul.ll
index 34a45724e5d40f02a9a58fff5804a9e8b23988af..e684d31ed3efbfdb7fe26fbd5f8f1df47243d547 100644
(file)
--- a/
test/Transforms/InstCombine/mul.ll
+++ b/
test/Transforms/InstCombine/mul.ll
@@
-58,3
+58,10
@@
uint %test10(int %a, uint %b) {
ret uint %e
}
+uint %test11(int %a, uint %b) {
+ %c = setle int %a, -1
+ %d = cast bool %c to uint
+ %e = mul uint %d, %b ; e = b & (a >> 31)
+ ret uint %e
+}
+