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