projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvm/test/CodeGen/AArch64/tailcall_misched_graph.ll: s/REQUIRE/REQUIRES/
[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 03acee259d519d793948428410372d3c66a83cbd..02a8c47ea48b9622fe7e9707bca93dbb1bda0936 100644
(file)
--- a/
test/CodeGen/Thumb2/thumb2-sxt_rot.ll
+++ b/
test/CodeGen/Thumb2/thumb2-sxt_rot.ll
@@
-10,8
+10,7
@@
define i32 @test0(i8 %A) {
define signext i8 @test1(i32 %A) {
; CHECK-LABEL: test1:
define signext i8 @test1(i32 %A) {
; CHECK-LABEL: test1:
-; CHECK: lsrs r0, r0, #8
-; CHECK: sxtb r0, r0
+; CHECK: sbfx r0, r0, #8, #8
%B = lshr i32 %A, 8
%C = shl i32 %A, 24
%D = or i32 %B, %C
%B = lshr i32 %A, 8
%C = shl i32 %A, 24
%D = or i32 %B, %C