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:
c8e7756
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Sun, 18 Sep 2005 05:10:39 +0000
(
05:10
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 18 Sep 2005 05:10:39 +0000
(
05:10
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23380
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 0834efcaf1a4d09e7551961655d1df6d5a8c2cd7..d810e188c83f1cd9c0281dcc4b695a60c2a6aba9 100644
(file)
--- a/
test/Transforms/InstCombine/shift.ll
+++ b/
test/Transforms/InstCombine/shift.ll
@@
-172,3
+172,11
@@
sbyte %test24(sbyte %X) {
ret sbyte %Q
}
+uint %test25(uint %tmp.2, uint %AA) {
+ %x = shr uint %AA, ubyte 17
+ %tmp.3 = shr uint %tmp.2, ubyte 17 ; <uint> [#uses=1]
+ %tmp.5 = add uint %tmp.3, %x ; <uint> [#uses=1]
+ %tmp.6 = shl uint %tmp.5, ubyte 17 ; <uint> [#uses=1]
+ ret uint %tmp.6
+}
+