Drop the ".w" qualifier for t2UXTB16* instructions as there is no 16-bit version
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-ror2.ll
1 ; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
2
3 define i32 @f1(i32 %a, i32 %b) {
4 ; CHECK: f1:
5 ; CHECK: rors r0, r1
6     %db = sub i32 32, %b
7     %l8 = shl i32 %a, %b
8     %r8 = lshr i32 %a, %db
9     %tmp = or i32 %l8, %r8
10     ret i32 %tmp
11 }