1
2# RUN: llc -mtriple=aarch64--- -verify-machineinstrs -simplify-mir -run-pass=machine-outliner %s -o - | FileCheck %s
3--- |
4
5  define void @foo() #0 {
6    ret void
7  }
8
9  attributes #0 = { noredzone }
10...
11---
12name:            foo
13tracksRegLiveness: true
14constants:
15  - id:              0
16    value:           'float 1.990000e+02'
17    alignment:       4
18    isTargetSpecific: false
19body:             |
20    bb.0:
21    liveins: $w1, $w10, $x14, $x15, $x16, $x10, $lr
22    ; CHECK-NOT: BL
23
24    $w10 = MOVZWi 4, 0, implicit-def $x10
25
26    renamable $x14 = ADRP target-flags(aarch64-page) %const.0
27    renamable $x15 = ADRP target-flags(aarch64-page) %const.0
28    renamable $x16 = ADRP target-flags(aarch64-page) %const.0
29
30    $w10 = MOVZWi 5, 0, implicit-def $x10
31
32    renamable $x14 = ADRP target-flags(aarch64-page) %const.0
33    renamable $x15 = ADRP target-flags(aarch64-page) %const.0
34    renamable $x16 = ADRP target-flags(aarch64-page) %const.0
35
36    $w10 = MOVZWi 6, 0, implicit-def $x10
37
38    renamable $x14 = ADRP target-flags(aarch64-page) %const.0
39    renamable $x15 = ADRP target-flags(aarch64-page) %const.0
40    renamable $x16 = ADRP target-flags(aarch64-page) %const.0
41
42    RET undef $lr
43