1 ; RUN: llc -verify-machineinstrs -mtriple=aarch64-none-linux-gnu < %s | FileCheck %s
2 ; RUN: llc -verify-machineinstrs -mtriple=arm64-apple-ios7.0 -o - %s | FileCheck %s
3 @var = global void()* zeroinitializer
9 %func = load void()** @var
11 ; Calling a function encourages @foo to use a callee-saved register,
12 ; which makes it a natural choice for the tail call itself. But we don't
13 ; want that: the final "br xN" has to use a temporary or argument
17 tail call void %func()
18 ; CHECK: br {{x([0-79]|1[0-8])}}