1 ; RUN: llc -mtriple=aarch64-linux-gnu -o - %s | FileCheck %s 2 3 ; CHECK-LABEL: %bb.0: 4 ; CHECK-NOT: stp 5 ; CHECK-NOT: mov w{{[0-9]+}}, w0 6 ; CHECK-LABEL: %bb.1: 7 ; CHECK: stp x19 8 ; CHECK: mov w{{[0-9]+}}, w0 9 10 define i32 @shrinkwrapme(i32 %paramAcrossCall, i32 %paramNotAcrossCall) { 11 entry: 12 %cmp5 = icmp sgt i32 %paramNotAcrossCall, 0 13 br i1 %cmp5, label %CallBB, label %Exit 14 CallBB: 15 %call = call i32 @fun() 16 %add = add i32 %call, %paramAcrossCall 17 ret i32 %add 18 Exit: 19 ret i32 0 20 } 21 22 declare i32 @fun() 23