38 lines · plain
1# RUN: llc -mtriple=aarch64 -mattr=+mte -run-pass=prologepilog,aarch64-expand-pseudo %s -o - | FileCheck %s2 3# CHECK: renamable $x8 = IRG $sp, $xzr4 5# CHECK: renamable $x0 = ADDG $x8, 0, 06# CHECK: renamable $x0 = ADDG $x8, 5, 07# CHECK: renamable $x0 = ADDG $x8, 63, 08# CHECK: $[[R:x[0-9]+]] = ADDXri $x8, 16, 09# CHECK: renamable $x0 = ADDG killed $[[R]], 63, 010 11# CHECK: renamable $x0 = SUBG $x8, 5, 012# CHECK: renamable $x0 = SUBG $x8, 63, 013# CHECK: $[[R:x[0-9]+]] = SUBXri $x8, 16, 014# CHECK: renamable $x0 = SUBG killed $[[R]], 63, 015 16---17name: subg18stack:19 - { id: 0, type: default, offset: 0, size: 16, alignment: 16,20 stack-id: default, callee-saved-register: '', callee-saved-restored: true,21 local-offset: -16, debug-info-variable: '', debug-info-expression: '',22 debug-info-location: '' }23body: |24 bb.0.entry:25 renamable $x8 = IRGstack $sp, $xzr26 27 renamable $x0 = TAGPstack %stack.0, 0, killed renamable $x8, 028 renamable $x0 = TAGPstack %stack.0, 5, killed renamable $x8, 029 renamable $x0 = TAGPstack %stack.0, 63, killed renamable $x8, 030 renamable $x0 = TAGPstack %stack.0, 64, killed renamable $x8, 031 32 renamable $x0 = TAGPstack %stack.0, -5, killed renamable $x8, 033 renamable $x0 = TAGPstack %stack.0, -63, killed renamable $x8, 034 renamable $x0 = TAGPstack %stack.0, -64, killed renamable $x8, 035 RET_ReallyLR36 37...38