aboutsummaryrefslogtreecommitdiff
blob: 675a2ca60ddbe1479fa4c0e96d761c95331ad784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc -mtriple=aarch64-linux-gnu -mcpu=cortex-a57 -regalloc=pbqp -pbqp-coalescing -o - %s | FileCheck %s

define i32 @foo(i32 %a) {
; CHECK-LABEL: foo:
; CHECK: bl bar
; CHECK: bl baz
  %call = call i32 @bar(i32 %a)
  %call1 = call i32 @baz(i32 %call)
  ret i32 %call1
}

declare i32 @bar(i32)
declare i32 @baz(i32)