1 # RUN: llc -simplify-mir -run-pass=machine-outliner -verify-machineinstrs %s -o - | FileCheck %s
2 # CHECK-NOT: OUTLINED_FUNCTION
4 target triple = "arm64----"
6 @g = external global i64, align 8
8 define void @foo() #0 {
12 define void @foo2() #0 {
16 define void @foo3() #0 {
20 attributes #0 = { nounwind noredzone }
26 tracksRegLiveness: true
30 $x27 = ADRP target-flags(aarch64-page, aarch64-got) @g
31 $lr = ADRP target-flags(aarch64-page, aarch64-got) @g
38 tracksRegLiveness: true
42 $x27 = ADRP target-flags(aarch64-page, aarch64-got) @g
43 $lr = ADRP target-flags(aarch64-page, aarch64-got) @g
50 tracksRegLiveness: true
54 $x27 = ADRP target-flags(aarch64-page, aarch64-got) @g
55 $lr = ADRP target-flags(aarch64-page, aarch64-got) @g