projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use references to attribute groups on the call/invoke instructions.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2010-11-01-lshr-mask.ll
diff --git
a/test/Transforms/InstCombine/2010-11-01-lshr-mask.ll
b/test/Transforms/InstCombine/2010-11-01-lshr-mask.ll
index 441d5f9b0b6445fc7c2f4ad13c943c3a2bda0927..8001621979197adc25c42d58c94dac5b134a87ce 100644
(file)
--- a/
test/Transforms/InstCombine/2010-11-01-lshr-mask.ll
+++ b/
test/Transforms/InstCombine/2010-11-01-lshr-mask.ll
@@
-5,8
+5,8
@@
define i32 @main(i32 %argc) nounwind ssp {
entry:
%tmp3151 = trunc i32 %argc to i8
define i32 @main(i32 %argc) nounwind ssp {
entry:
%tmp3151 = trunc i32 %argc to i8
-; CHECK: %
tmp3162
= shl i8 %tmp3151, 5
-; CHECK: and i8 %
tmp3162
, 64
+; CHECK: %
0
= shl i8 %tmp3151, 5
+; CHECK: and i8 %
0
, 64
; CHECK-NOT: shl
; CHECK-NOT: shr
%tmp3161 = or i8 %tmp3151, -17
; CHECK-NOT: shl
; CHECK-NOT: shr
%tmp3161 = or i8 %tmp3151, -17
@@
-38,8
+38,8
@@
bb:
%tmp10 = lshr i8 %tmp8, 7
%tmp11 = shl i8 %tmp10, 5
%tmp10 = lshr i8 %tmp8, 7
%tmp11 = shl i8 %tmp10, 5
-; CHECK: %
0 = lshr i8 %tmp8, 2
-; CHECK: %tmp11 =
and i8 %0, 32
+; CHECK: %
tmp10 = lshr i8 %tmp8, 7
+; CHECK: %tmp11 =
shl nuw nsw i8 %tmp10, 5
%tmp12 = xor i8 %tmp11, %tmp9
ret i8 %tmp12
%tmp12 = xor i8 %tmp11, %tmp9
ret i8 %tmp12