diff options
Diffstat (limited to 'test/CodeGen/ARM/sxt_rot.ll')
-rw-r--r-- | test/CodeGen/ARM/sxt_rot.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/sxt_rot.ll b/test/CodeGen/ARM/sxt_rot.ll index 5ddea2ec13dc..41626910c3b1 100644 --- a/test/CodeGen/ARM/sxt_rot.ll +++ b/test/CodeGen/ARM/sxt_rot.ll @@ -9,7 +9,8 @@ define i32 @test0(i8 %A) { define signext i8 @test1(i32 %A) { ; CHECK: test1 -; CHECK: sxtb r0, r0, ror #8 +; CHECK: lsr r0, r0, #8 +; CHECK: sxtb r0, r0 %B = lshr i32 %A, 8 %C = shl i32 %A, 24 %D = or i32 %B, %C |