1 ; RUN: llc -mtriple=arm-eabi -mattr=+v6 %s -o - | FileCheck %s
3 define i32 @test0(i8 %A) {
10 define signext i8 @test1(i32 %A) {
12 ; CHECK: lsr r0, r0, #8
17 %E = trunc i32 %D to i8
21 define signext i32 @test2(i32 %A, i32 %X) {
23 ; CHECK: sxtab r0, r1, r0
27 %E = trunc i32 %D to i8
28 %F = sext i8 %E to i32