[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / AArch64 / machine-outliner-labels.mir
bloba38e1803cfb6745cba01018f3f1d8605351d69e8
1 # RUN: llc -mtriple aarch64 -run-pass=machine-outliner -verify-machineinstrs %s -o - | FileCheck %s
2 # CHECK-NOT: OUTLINED_FUNCTION
4 ...
5 ---
6 name:            foo1
7 tracksRegLiveness: true
8 machineFunctionInfo:
9   hasRedZone:      false
10 body:             |
11   bb.0:
12     liveins: $x0
13     $x0 = ADDXri $x0, 0, 0
14     EH_LABEL <mcsymbol .Ltmp0>
15     EH_LABEL <mcsymbol .Ltmp1>
16     EH_LABEL <mcsymbol .Ltmp2>
17     EH_LABEL <mcsymbol .Ltmp3>
18     RET_ReallyLR implicit $x0
19 ...
20 ---
21 name:            foo2
22 tracksRegLiveness: true
23 machineFunctionInfo:
24   hasRedZone:      false
25 body:             |
26   bb.0:
27     liveins: $x0
28     $x0 = ADDXri $x0, 0, 0
29     EH_LABEL <mcsymbol .Ltmp0>
30     EH_LABEL <mcsymbol .Ltmp1>
31     EH_LABEL <mcsymbol .Ltmp2>
32     EH_LABEL <mcsymbol .Ltmp3>
33     RET_ReallyLR implicit $x0
34 ...
35 ---
36 name:            foo3
37 tracksRegLiveness: true
38 machineFunctionInfo:
39   hasRedZone:      false
40 body:             |
41   bb.0:
42     liveins: $x0
43     $x0 = ADDXri $x0, 0, 0
44     EH_LABEL <mcsymbol .Ltmp0>
45     EH_LABEL <mcsymbol .Ltmp1>
46     EH_LABEL <mcsymbol .Ltmp2>
47     EH_LABEL <mcsymbol .Ltmp3>
48     RET_ReallyLR implicit $x0
49 ...