blob: a0a60e68989f9ebbe3dc48efbe0821ac6a9629cc [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
David Goodwin7f98cac2009-06-26 22:37:07 +00002
3define i32 @f1(i32 %a, i32 %b) {
Evan Cheng3a1f0f62009-08-10 23:56:04 +00004; CHECK: f1:
5; CHECK: asrs r0, r1
David Goodwin7f98cac2009-06-26 22:37:07 +00006 %tmp = ashr i32 %a, %b
7 ret i32 %tmp
8}