aboutsummaryrefslogblamecommitdiff
path: root/test/CodeGen/Thumb2/thumb2-lsr.ll
blob: cf4d2f81c55d9d2bed38392bdb3643f91102f398 (plain) (tree)
1
2
3
4
5
6





                                                                                                                 
; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep {lsr\\W*r\[0-9\],\\W*r\[0-9\],\\W*\[0-9\]} | count 1

define i32 @f1(i32 %a) {
    %tmp = lshr i32 %a, 13
    ret i32 %tmp
}