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