blob: a4cccd554215328afa8ec3a5923bd314d119a030 [file] [log] [blame]
Saleem Abdulrasool905b6d192014-04-03 23:47:24 +00001; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s
David Goodwin3aaa7512009-06-26 22:37:07 +00002
3define i32 @f1(i32 %a, i32 %b) {
Stephen Lind24ab202013-07-14 06:24:09 +00004; CHECK-LABEL: f1:
Evan Cheng475f8a42009-08-10 23:56:04 +00005; CHECK: asrs r0, r1
David Goodwin3aaa7512009-06-26 22:37:07 +00006 %tmp = ashr i32 %a, %b
7 ret i32 %tmp
8}