aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/AArch64/tailcall-fastisel.ll
blob: 3ba639183161411dc4a873a9ecfeb52f8ef4a1c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc < %s -mtriple=arm64-apple-darwin -O0 | FileCheck %s

; CHECK: b _foo0

define i32 @foo1() {
entry:
  %call = tail call i32 @foo0()
  ret i32 %call
}

declare i32 @foo0()