1 ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6 | \
2 ; RUN: grep sxtb | count 1
3 ; RUN: llvm-as < %s | llc -march=arm -mattr=+v6 | \
4 ; RUN: grep sxtab | count 1
6 define i8 @test1(i32 %A) signext {
10 %E = trunc i32 %D to i8
14 define i32 @test2(i32 %A, i32 %X) signext {
18 %E = trunc i32 %D to i8
19 %F = sext i8 %E to i32