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:
11fe8df
)
Fix testcase, the 'shift out all bits' doesn't apply to signed types.
author
Chris Lattner
<sabre@nondot.org>
Mon, 6 May 2002 16:11:31 +0000
(16:11 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 6 May 2002 16:11:31 +0000
(16:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2482
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 c6b65174f6b628c222f7fce76685fe43c78a2e39..20bf9116e2d5af1a738bd760ac1af229961efc89 100644
(file)
--- a/
test/Transforms/InstCombine/shift.ll
+++ b/
test/Transforms/InstCombine/shift.ll
@@
-28,8
+28,8
@@
int "test4"(ubyte %A) {
ret int %B
}
-
int "test5"(
int %A) {
- %B = shr int %A, ubyte 32 ;; shift all bits out
- ret int %B
+
uint "test5"(u
int %A) {
+ %B = shr
u
int %A, ubyte 32 ;; shift all bits out
+ ret
u
int %B
}