]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/Thumb2/thumb2-lsr.ll
Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
[FreeBSD/FreeBSD.git] / test / CodeGen / Thumb2 / thumb2-lsr.ll
1 ; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s
2
3 define i32 @f1(i32 %a) {
4 ; CHECK-LABEL: f1:
5 ; CHECK: lsrs r0, r0, #13
6     %tmp = lshr i32 %a, 13
7     ret i32 %tmp
8 }