2009-09-09 00:09:15 +00:00
|
|
|
; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
|
2009-06-26 22:37:07 +00:00
|
|
|
|
|
|
|
define i32 @f1(i32 %a, i32 %b) {
|
2009-08-10 23:56:04 +00:00
|
|
|
; CHECK: f1:
|
|
|
|
; CHECK: lsls r0, r1
|
2009-06-26 22:37:07 +00:00
|
|
|
%tmp = shl i32 %a, %b
|
|
|
|
ret i32 %tmp
|
|
|
|
}
|