]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/Thumb2/thumb2-ror.ll
Update LLVM to r90226.
[FreeBSD/FreeBSD.git] / test / CodeGen / Thumb2 / thumb2-ror.ll
1 ; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
2
3
4 define i32 @f1(i32 %a) {
5     %l8 = shl i32 %a, 10
6     %r8 = lshr i32 %a, 22
7     %tmp = or i32 %l8, %r8
8     ret i32 %tmp
9 }
10 ; CHECK: f1:
11 ; CHECK:        ror.w   r0, r0, #22