1 # RUN: llc -mtriple=arm64-apple-ios11.0.0 -o - -verify-machineinstrs -run-pass mir-canonicalizer %s | FileCheck %s
2 # RUN: llc -mtriple=arm64-apple-ios11.0.0 -o - -verify-machineinstrs -mir-vreg-namer-use-stable-hash -run-pass mir-canonicalizer %s | FileCheck %s
8 - { id: 0, type: default, offset: 0, size: 4, alignment: 4,
9 stack-id: default, callee-saved-register: '', callee-saved-restored: true,
10 local-offset: -4, debug-info-variable: '', debug-info-expression: '',
11 debug-info-location: '' }
12 - { id: 1, type: default, offset: 0, size: 8, alignment: 8,
13 stack-id: default, callee-saved-register: '', callee-saved-restored: true,
14 local-offset: -16, debug-info-variable: '', debug-info-expression: '',
15 debug-info-location: '' }
16 - { id: 2, type: default, offset: 0, size: 8, alignment: 8,
17 stack-id: default, callee-saved-register: '', callee-saved-restored: true,
18 local-offset: -24, debug-info-variable: '', debug-info-expression: '',
19 debug-info-location: '' }
20 - { id: 3, type: default, offset: 0, size: 8, alignment: 8,
21 stack-id: default, callee-saved-register: '', callee-saved-restored: true,
22 local-offset: -32, debug-info-variable: '', debug-info-expression: '',
23 debug-info-location: '' }
24 - { id: 4, type: default, offset: 0, size: 8, alignment: 8,
25 stack-id: default, callee-saved-register: '', callee-saved-restored: true,
26 local-offset: -40, debug-info-variable: '', debug-info-expression: '',
27 debug-info-location: '' }
28 - { id: 5, type: default, offset: 0, size: 8, alignment: 8,
29 stack-id: default, callee-saved-register: '', callee-saved-restored: true,
30 local-offset: -48, debug-info-variable: '', debug-info-expression: '',
31 debug-info-location: '' }
32 - { id: 6, type: default, offset: 0, size: 8, alignment: 8,
33 stack-id: default, callee-saved-register: '', callee-saved-restored: true,
34 local-offset: -56, debug-info-variable: '', debug-info-expression: '',
35 debug-info-location: '' }
39 liveins: $x0, $x1, $d0, $d1
41 %42:gpr32 = LDRWui %stack.0, 0 :: (dereferenceable load (s64))
43 ;CHECK: %bb0_{{[0-9a-f]+}}__1:gpr32 = LDRWui %stack.0, 0 :: (dereferenceable load (s64))
44 ;CHECK-NEXT: $w0 = COPY %bb0_
45 ;CHECK-NEXT: RET_ReallyLR implicit $w0
47 %vreg1234:gpr32 = COPY %42
48 %vreg1235:gpr32 = COPY %vreg1234
49 %vreg1236:gpr32 = COPY %vreg1235
51 RET_ReallyLR implicit $w0