Add ".w" suffix for wide thumb-2 instructions.
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-rev.ll
1 ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2,+v7a | grep {rev\\.w\\W*r\[0-9\]*,\\W*r\[0-9\]*} | count 1
2
3 define i32 @f1(i32 %a) {
4     %tmp = tail call i32 @llvm.bswap.i32(i32 %a)
5     ret i32 %tmp
6 }
7
8 declare i32 @llvm.bswap.i32(i32) nounwind readnone