1- # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
2- # RUN: llc -o - -mtriple=arm64-apple-ios -run-pass=postrapseudos -simplify-mir -verify-machineinstrs -mattr="-zcm-gpr32,-zcm-gpr64,-zcz-gpr32,-zcz-gpr64" %s \
3- # RUN: | FileCheck --check-prefix=CHECK-NO-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ %s
4- # RUN: llc -o - -mtriple=arm64-apple-ios -run-pass=postrapseudos -simplify-mir -verify-machineinstrs -mattr="+zcm-gpr32,-zcm-gpr64,-zcz-gpr32,-zcz-gpr64" %s \
5- # RUN: | FileCheck --check-prefix=CHECK-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ %s
6- # RUN: llc -o - -mtriple=arm64-apple-ios -run-pass=postrapseudos -simplify-mir -verify-machineinstrs -mattr="-zcm-gpr32,+zcm-gpr64,-zcz-gpr32,-zcz-gpr64" %s \
7- # RUN: | FileCheck --check-prefix=CHECK-NO-ZCM-GPR32-ZCM-GPR64-NO-ZCZ %s
8- # RUN: llc -o - -mtriple=arm64-apple-ios -run-pass=postrapseudos -simplify-mir -verify-machineinstrs -mattr="+zcm-gpr32,+zcm-gpr64,-zcz-gpr32,-zcz-gpr64" %s \
9- # RUN: | FileCheck --check-prefix=CHECK-ZCM-GPR32-ZCM-GPR64-NO-ZCZ %s
10- # RUN: llc -o - -mtriple=arm64-apple-ios -run-pass=postrapseudos -simplify-mir -verify-machineinstrs -mattr="-zcm-gpr32,-zcm-gpr64,+zcz-gpr32,+zcz-gpr64" %s \
11- # RUN: | FileCheck --check-prefix=CHECK-NO-ZCM-ZCZ %s
12- # RUN: llc -o - -mtriple=arm64-apple-ios -run-pass=postrapseudos -simplify-mir -verify-machineinstrs -mattr="+zcm-gpr32,+zcm-gpr64,+zcz-gpr32,+zcz-gpr64" %s \
13- # RUN: | FileCheck --check-prefix=CHECK-ZCM-ZCZ %s
1+ # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
2+ # RUN: llc -o - -mtriple=arm64-apple-ios -run-pass=postrapseudos -simplify-mir -verify-machineinstrs -mattr="-zcz-gpr32,-zcz-gpr64" %s \
3+ # RUN: | FileCheck --check-prefix=CHECK-NOZCZ-GPR32-NOZCZ-GPR64 %s
4+ # RUN: llc -o - -mtriple=arm64-apple-ios -run-pass=postrapseudos -simplify-mir -verify-machineinstrs -mattr="+zcz-gpr32,-zcz-gpr64" %s \
5+ # RUN: | FileCheck --check-prefix=CHECK-ZCZ-GPR32-NOZCZ-GPR64 %s
6+ # RUN: llc -o - -mtriple=arm64-apple-ios -run-pass=postrapseudos -simplify-mir -verify-machineinstrs -mattr="-zcz-gpr32,+zcz-gpr64" %s \
7+ # RUN: | FileCheck --check-prefix=CHECK-NOZCZ-GPR32-ZCZ-GPR64 %s
8+ # RUN: llc -o - -mtriple=arm64-apple-ios -run-pass=postrapseudos -simplify-mir -verify-machineinstrs -mattr="+zcz-gpr32,+zcz-gpr64" %s \
9+ # RUN: | FileCheck --check-prefix=CHECK-ZCZ-GPR32-ZCZ-GPR64 %s
1410
1511--- |
1612 define void @f0(i64 noundef %x) { ret void }
@@ -24,41 +20,29 @@ liveins:
2420body : |
2521 bb.0:
2622 liveins: $x0, $lr
27- ; CHECK-NO-ZCM- GPR32-NO-ZCM- GPR64-NO-ZCZ -LABEL: name: f0
28- ; CHECK-NO-ZCM- GPR32-NO-ZCM- GPR64-NO-ZCZ : liveins: $x0, $lr
29- ; CHECK-NO-ZCM- GPR32-NO-ZCM- GPR64-NO-ZCZ -NEXT: {{ $}}
30- ; CHECK-NO-ZCM- GPR32-NO-ZCM- GPR64-NO-ZCZ -NEXT: $w0 = ORRWrr $wzr, $wzr
31- ; CHECK-NO-ZCM- GPR32-NO-ZCM- GPR64-NO-ZCZ -NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
23+ ; CHECK-NOZCZ- GPR32-NOZCZ- GPR64-LABEL: name: f0
24+ ; CHECK-NOZCZ- GPR32-NOZCZ- GPR64: liveins: $x0, $lr
25+ ; CHECK-NOZCZ- GPR32-NOZCZ- GPR64-NEXT: {{ $}}
26+ ; CHECK-NOZCZ- GPR32-NOZCZ- GPR64-NEXT: $w0 = ORRWrr $wzr, $wzr
27+ ; CHECK-NOZCZ- GPR32-NOZCZ- GPR64-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
3228 ;
33- ; CHECK-ZCM -GPR32-NO-ZCM- GPR64-NO-ZCZ -LABEL: name: f0
34- ; CHECK-ZCM -GPR32-NO-ZCM- GPR64-NO-ZCZ : liveins: $x0, $lr
35- ; CHECK-ZCM -GPR32-NO-ZCM- GPR64-NO-ZCZ -NEXT: {{ $}}
36- ; CHECK-ZCM -GPR32-NO-ZCM- GPR64-NO-ZCZ- NEXT: $w0 = ORRWrr $wzr, $wzr
37- ; CHECK-ZCM -GPR32-NO-ZCM- GPR64-NO-ZCZ -NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
29+ ; CHECK-ZCZ -GPR32-NOZCZ- GPR64-LABEL: name: f0
30+ ; CHECK-ZCZ -GPR32-NOZCZ- GPR64: liveins: $x0, $lr
31+ ; CHECK-ZCZ -GPR32-NOZCZ- GPR64-NEXT: {{ $}}
32+ ; CHECK-ZCZ -GPR32-NOZCZ- GPR64-NEXT: $w0 = MOVZWi 0, 0
33+ ; CHECK-ZCZ -GPR32-NOZCZ- GPR64-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
3834 ;
39- ; CHECK-NO-ZCM- GPR32-ZCM -GPR64-NO-ZCZ -LABEL: name: f0
40- ; CHECK-NO-ZCM- GPR32-ZCM -GPR64-NO-ZCZ : liveins: $x0, $lr
41- ; CHECK-NO-ZCM- GPR32-ZCM -GPR64-NO-ZCZ -NEXT: {{ $}}
42- ; CHECK-NO-ZCM- GPR32-ZCM -GPR64-NO-ZCZ- NEXT: $x0 = ORRXrr $xzr, undef $xzr, implicit $wzr
43- ; CHECK-NO-ZCM- GPR32-ZCM -GPR64-NO-ZCZ -NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
35+ ; CHECK-NOZCZ- GPR32-ZCZ -GPR64-LABEL: name: f0
36+ ; CHECK-NOZCZ- GPR32-ZCZ -GPR64: liveins: $x0, $lr
37+ ; CHECK-NOZCZ- GPR32-ZCZ -GPR64-NEXT: {{ $}}
38+ ; CHECK-NOZCZ- GPR32-ZCZ -GPR64-NEXT: $w0 = ORRWrr $wzr, $wzr
39+ ; CHECK-NOZCZ- GPR32-ZCZ -GPR64-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
4440 ;
45- ; CHECK-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-LABEL: name: f0
46- ; CHECK-ZCM-GPR32-ZCM-GPR64-NO-ZCZ: liveins: $x0, $lr
47- ; CHECK-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-NEXT: {{ $}}
48- ; CHECK-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-NEXT: $w0 = ORRWrr $wzr, $wzr
49- ; CHECK-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
50- ;
51- ; CHECK-NO-ZCM-ZCZ-LABEL: name: f0
52- ; CHECK-NO-ZCM-ZCZ: liveins: $x0, $lr
53- ; CHECK-NO-ZCM-ZCZ-NEXT: {{ $}}
54- ; CHECK-NO-ZCM-ZCZ-NEXT: $w0 = MOVZWi 0, 0
55- ; CHECK-NO-ZCM-ZCZ-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
56- ;
57- ; CHECK-ZCM-ZCZ-LABEL: name: f0
58- ; CHECK-ZCM-ZCZ: liveins: $x0, $lr
59- ; CHECK-ZCM-ZCZ-NEXT: {{ $}}
60- ; CHECK-ZCM-ZCZ-NEXT: $w0 = MOVZWi 0, 0
61- ; CHECK-ZCM-ZCZ-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
41+ ; CHECK-ZCZ-GPR32-ZCZ-GPR64-LABEL: name: f0
42+ ; CHECK-ZCZ-GPR32-ZCZ-GPR64: liveins: $x0, $lr
43+ ; CHECK-ZCZ-GPR32-ZCZ-GPR64-NEXT: {{ $}}
44+ ; CHECK-ZCZ-GPR32-ZCZ-GPR64-NEXT: $w0 = MOVZWi 0, 0
45+ ; CHECK-ZCZ-GPR32-ZCZ-GPR64-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
6246 $w0 = COPY $wzr
6347 BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
6448 ...
@@ -69,41 +53,29 @@ liveins:
6953body : |
7054 bb.0:
7155 liveins: $x0, $lr
72- ; CHECK-NO-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ-LABEL: name: f1
73- ; CHECK-NO-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ: liveins: $x0, $lr
74- ; CHECK-NO-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ-NEXT: {{ $}}
75- ; CHECK-NO-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ-NEXT: $x0 = ORRXrr $xzr, $xzr
76- ; CHECK-NO-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
77- ;
78- ; CHECK-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ-LABEL: name: f1
79- ; CHECK-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ: liveins: $x0, $lr
80- ; CHECK-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ-NEXT: {{ $}}
81- ; CHECK-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ-NEXT: $x0 = ORRXrr $xzr, $xzr
82- ; CHECK-ZCM-GPR32-NO-ZCM-GPR64-NO-ZCZ-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
83- ;
84- ; CHECK-NO-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-LABEL: name: f1
85- ; CHECK-NO-ZCM-GPR32-ZCM-GPR64-NO-ZCZ: liveins: $x0, $lr
86- ; CHECK-NO-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-NEXT: {{ $}}
87- ; CHECK-NO-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-NEXT: $x0 = ORRXrr $xzr, $xzr
88- ; CHECK-NO-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
56+ ; CHECK-NOZCZ-GPR32-NOZCZ-GPR64-LABEL: name: f1
57+ ; CHECK-NOZCZ-GPR32-NOZCZ-GPR64: liveins: $x0, $lr
58+ ; CHECK-NOZCZ-GPR32-NOZCZ-GPR64-NEXT: {{ $}}
59+ ; CHECK-NOZCZ-GPR32-NOZCZ-GPR64-NEXT: $x0 = ORRXrr $xzr, $xzr
60+ ; CHECK-NOZCZ-GPR32-NOZCZ-GPR64-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
8961 ;
90- ; CHECK-ZCM -GPR32-ZCM -GPR64-NO-ZCZ -LABEL: name: f1
91- ; CHECK-ZCM -GPR32-ZCM -GPR64-NO-ZCZ : liveins: $x0, $lr
92- ; CHECK-ZCM -GPR32-ZCM -GPR64-NO-ZCZ -NEXT: {{ $}}
93- ; CHECK-ZCM -GPR32-ZCM -GPR64-NO-ZCZ -NEXT: $x0 = ORRXrr $xzr, $xzr
94- ; CHECK-ZCM -GPR32-ZCM -GPR64-NO-ZCZ -NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
62+ ; CHECK-ZCZ -GPR32-NOZCZ -GPR64-LABEL: name: f1
63+ ; CHECK-ZCZ -GPR32-NOZCZ -GPR64: liveins: $x0, $lr
64+ ; CHECK-ZCZ -GPR32-NOZCZ -GPR64-NEXT: {{ $}}
65+ ; CHECK-ZCZ -GPR32-NOZCZ -GPR64-NEXT: $x0 = ORRXrr $xzr, $xzr
66+ ; CHECK-ZCZ -GPR32-NOZCZ -GPR64-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
9567 ;
96- ; CHECK-NO-ZCM -ZCZ-LABEL: name: f1
97- ; CHECK-NO-ZCM -ZCZ: liveins: $x0, $lr
98- ; CHECK-NO-ZCM -ZCZ-NEXT: {{ $}}
99- ; CHECK-NO-ZCM -ZCZ-NEXT: $x0 = MOVZXi 0, 0
100- ; CHECK-NO-ZCM -ZCZ-NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
68+ ; CHECK-NOZCZ-GPR32 -ZCZ-GPR64 -LABEL: name: f1
69+ ; CHECK-NOZCZ-GPR32 -ZCZ-GPR64 : liveins: $x0, $lr
70+ ; CHECK-NOZCZ-GPR32 -ZCZ-GPR64 -NEXT: {{ $}}
71+ ; CHECK-NOZCZ-GPR32 -ZCZ-GPR64 -NEXT: $x0 = MOVZXi 0, 0
72+ ; CHECK-NOZCZ-GPR32 -ZCZ-GPR64 -NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
10173 ;
102- ; CHECK-ZCM- ZCZ-LABEL: name: f1
103- ; CHECK-ZCM- ZCZ: liveins: $x0, $lr
104- ; CHECK-ZCM- ZCZ-NEXT: {{ $}}
105- ; CHECK-ZCM- ZCZ-NEXT: $x0 = MOVZXi 0, 0
106- ; CHECK-ZCM- ZCZ-NEXT:BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
74+ ; CHECK-ZCZ-GPR32- ZCZ-GPR64 -LABEL: name: f1
75+ ; CHECK-ZCZ-GPR32- ZCZ-GPR64 : liveins: $x0, $lr
76+ ; CHECK-ZCZ-GPR32- ZCZ-GPR64 -NEXT: {{ $}}
77+ ; CHECK-ZCZ-GPR32- ZCZ-GPR64 -NEXT: $x0 = MOVZXi 0, 0
78+ ; CHECK-ZCZ-GPR32- ZCZ-GPR64- NEXT: BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
10779 $x0 = COPY $xzr
10880 BL @f2, csr_darwin_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit $w0, implicit-def $sp, implicit-def $w0
10981 ...
0 commit comments