1 ; RUN: llc -mtriple aarch64--none-eabi < %s | FileCheck %s
3 ; The BTI instruction cannot be outlined, because it needs to be the very first
4 ; instruction executed after an indirect call.
6 @g = hidden global i32 0, align 4
8 define hidden void @foo() minsize "branch-target-enforcement" {
11 ; CHECK: b OUTLINED_FUNCTION_0
12 store volatile i32 1, i32* @g, align 4
16 define hidden void @bar() minsize "branch-target-enforcement" {
19 ; CHECK: b OUTLINED_FUNCTION_0
20 store volatile i32 1, i32* @g, align 4