Home | History | Annotate | Download | only in AArch64
      1 # RUN: llc -mtriple=arm64-apple-ios11.0.0 -o - -run-pass mir-canonicalizer %s | FileCheck %s
      2 
      3 ...
      4 ---
      5 name: Proc8
      6 stack:
      7   - { id: 0, type: default, offset: 0, size: 4, alignment: 4,
      8       stack-id: 0, 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: 0, 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: 0, 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: 0, 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: 0, 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: 0, 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: 0, callee-saved-register: '', callee-saved-restored: true,
     33       local-offset: -56, debug-info-variable: '', debug-info-expression: '',
     34       debug-info-location: '' }
     35 constants:
     36 body: |
     37   bb.0:
     38     liveins: $x0, $x1, $d0, $d1
     39 
     40     %42:gpr32 = LDRWui %stack.0, 0 :: (dereferenceable load 8)
     41 
     42     ;CHECK: %namedVReg1352:gpr32 = LDRWui %stack.0, 0 :: (dereferenceable load 8)
     43     ;CHECK: $w0 = COPY %namedVReg1352
     44     ;CHECK: RET_ReallyLR implicit $w0
     45 
     46     %vreg1234:gpr32 = COPY %42
     47     %vreg1235:gpr32 = COPY %vreg1234
     48     %vreg1236:gpr32 = COPY %vreg1235
     49     $w0 = COPY %vreg1236
     50     RET_ReallyLR implicit $w0
     51 
     52 ...
     53