aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb2/thumb2-lsr.ll
blob: 7cbee54f381f1d9b70738b5e336873dc0a6f647e (plain)
1
2
3
4
5
6
7
8
; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s

define i32 @f1(i32 %a) {
; CHECK: f1:
; CHECK: lsrs r0, r0, #13
    %tmp = lshr i32 %a, 13
    ret i32 %tmp
}