1 ; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
3 define i64 @f0(i64 %val, i64 %amt) minsize optsize {
5 ; CHECK: bl __aeabi_llsl
6 %res = shl i64 %val, %amt
10 define i32 @f1(i64 %x, i64 %y) minsize optsize {
12 ; CHECK: bl __aeabi_llsl
14 %b = trunc i64 %a to i32
18 define i32 @f2(i64 %x, i64 %y) minsize optsize {
20 ; CHECK: bl __aeabi_lasr
22 %b = trunc i64 %a to i32
26 define i32 @f3(i64 %x, i64 %y) minsize optsize {
28 ; CHECK: bl __aeabi_llsr
30 %b = trunc i64 %a to i32