projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SDAG] Make the DAGCombine worklist not grow endlessly due to duplicate
[oota-llvm.git]
/
test
/
CodeGen
/
Thumb2
/
thumb2-sxt_rot.ll
diff --git
a/test/CodeGen/Thumb2/thumb2-sxt_rot.ll
b/test/CodeGen/Thumb2/thumb2-sxt_rot.ll
index cef3490e2a38df41ecacfc932f914ce0567756f3..5e0977efd20a003856137c622cd605d3d93b6987 100644
(file)
--- a/
test/CodeGen/Thumb2/thumb2-sxt_rot.ll
+++ b/
test/CodeGen/Thumb2/thumb2-sxt_rot.ll
@@
-10,7
+10,8
@@
define i32 @test0(i8 %A) {
define signext i8 @test1(i32 %A) {
; CHECK: test1
-; CHECK: sxtb.w r0, r0, ror #8
+; CHECK: lsrs r0, r0, #8
+; CHECK: sxtb r0, r0
%B = lshr i32 %A, 8
%C = shl i32 %A, 24
%D = or i32 %B, %C