1 ; RUN: llc -march=hexagon -O2 < %s | FileCheck %s
3 target triple = "hexagon-unknown-linux-gnu"
5 declare i32 @f0(i32, i32)
7 ; CHECK: __save_r16_through_r21
8 ; CHECK: __restore_r16_through_r21_and_deallocframe
10 ; Function Attrs: optsize
11 define i32 @f1(i32 %a0, i32 %a11, i32 %a22, i32 %a33, i32 %a44) #0 {
13 %v0 = call i32 @f0(i32 1, i32 1)
14 %v1 = call i32 @f0(i32 %a0, i32 %a11)
15 %v2 = call i32 @f0(i32 %a22, i32 %a33)
16 %v3 = call i32 @f0(i32 %a0, i32 %a44)
20 attributes #0 = { optsize }