blob: ae55735fabbc1dca434b7de4951992e2a6ed79a2 [file] [log] [blame]
Dan Gohmanc8054d92009-09-09 00:09:15 +00001; RUN: llc < %s -march=thumb -mattr=+thumb2 | 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: lsrs r0, r1
David Goodwin3aaa7512009-06-26 22:37:07 +00006 %tmp = lshr i32 %a, %b
7 ret i32 %tmp
8}