|
| 1 | +# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py |
| 2 | +# RUN: llc -mtriple=amdgcn-- -mcpu=gfx1100 -mattr=+real-true16 -run-pass=prologepilog %s -o - | FileCheck -check-prefix=GCN %s |
| 3 | + |
| 4 | +--- |
| 5 | +name: wwm_reg_skip_sort_16bit |
| 6 | +tracksRegLiveness: true |
| 7 | +machineFunctionInfo: |
| 8 | + isEntryFunction: true |
| 9 | +body: | |
| 10 | + bb.0: |
| 11 | + ; GCN-LABEL: name: wwm_reg_skip_sort_16bit |
| 12 | + ; GCN: renamable $sgpr0 = ENTER_STRICT_WWM -1, implicit-def $exec, implicit-def $scc, implicit $exec |
| 13 | + ; GCN-NEXT: $vgpr0 = IMPLICIT_DEF |
| 14 | + ; GCN-NEXT: renamable $sgpr1 = V_READLANE_B32 $vgpr0, 31 |
| 15 | + ; GCN-NEXT: renamable $sgpr2 = S_MOV_B32 0 |
| 16 | + ; GCN-NEXT: undef $vgpr0_lo16 = V_CNDMASK_B16_t16_e64 0, 0, 0, killed $sgpr1, killed $sgpr2, 0, implicit $exec |
| 17 | + ; GCN-NEXT: $exec_lo = EXIT_STRICT_WWM killed renamable $sgpr0 |
| 18 | + ; GCN-NEXT: early-clobber renamable $vgpr1 = V_MOV_B32_e32 $vgpr0, implicit $exec |
| 19 | + ; GCN-NEXT: S_ENDPGM 0, implicit killed renamable $vgpr1 |
| 20 | + renamable $sgpr0 = ENTER_STRICT_WWM -1, implicit-def $exec, implicit-def $scc, implicit $exec |
| 21 | + $vgpr0 = IMPLICIT_DEF |
| 22 | + renamable $sgpr1 = V_READLANE_B32 $vgpr0, 31 |
| 23 | + renamable $sgpr2 = S_MOV_B32 0 |
| 24 | + undef $vgpr0_lo16 = V_CNDMASK_B16_t16_e64 0, 0, 0, killed $sgpr1, killed $sgpr2, 0, implicit $exec |
| 25 | + $exec_lo = EXIT_STRICT_WWM killed renamable $sgpr0 |
| 26 | + early-clobber renamable $vgpr1 = V_MOV_B32_e32 $vgpr0, implicit $exec |
| 27 | + S_ENDPGM 0, implicit killed renamable $vgpr1 |
| 28 | +... |
0 commit comments