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:
830ed03
)
A case that instcombine is not catching.
author
Chris Lattner
<sabre@nondot.org>
Fri, 6 Jan 2006 07:48:28 +0000
(07:48 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 6 Jan 2006 07:48:28 +0000
(07:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25127
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/shift.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/shift.ll
b/test/Transforms/InstCombine/shift.ll
index d810e188c83f1cd9c0281dcc4b695a60c2a6aba9..4db7db977ec71d9a4bae6454261252b0b2fbbe1d 100644
(file)
--- a/
test/Transforms/InstCombine/shift.ll
+++ b/
test/Transforms/InstCombine/shift.ll
@@
-180,3
+180,10
@@
uint %test25(uint %tmp.2, uint %AA) {
ret uint %tmp.6
}
+int %test26(uint %A) { ;; handle casts between shifts.
+ %B = shr uint %A, ubyte 1
+ %C = cast uint %B to int
+ %D = shl int %C, ubyte 1
+ ret int %D
+}
+