[llvm] RenameIndependentSubregs: Add missing sub-range for new IMPLICIT_DEFs (PR #89050)
Petar Avramovic via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 17 08:56:37 PDT 2024
================
@@ -4054,22 +4054,22 @@ body: |
; GCN-NEXT: renamable $sgpr0 = S_CSELECT_B32 1, 0, implicit $scc
; GCN-NEXT: renamable $sgpr0 = S_LSHL_B32 killed renamable $sgpr0, 1, implicit-def dead $scc
; GCN-NEXT: renamable $sgpr0 = S_OR_B32 killed renamable $sgpr0, killed renamable $sgpr33, implicit-def dead $scc
- ; GCN-NEXT: renamable $vgpr3 = COPY killed renamable $sgpr0
+ ; GCN-NEXT: renamable $vgpr15 = COPY killed renamable $sgpr0
; GCN-NEXT: S_BRANCH %bb.42
; GCN-NEXT: {{ $}}
; GCN-NEXT: bb.82 (%ir-block.363):
; GCN-NEXT: successors: %bb.40(0x80000000)
; GCN-NEXT: liveins: $sgpr4, $sgpr5, $sgpr6, $sgpr7, $sgpr33, $vgpr0, $sgpr8_sgpr9:0x000000000000000F, $sgpr10_sgpr11, $sgpr12_sgpr13, $sgpr0_sgpr1_sgpr2_sgpr3
; GCN-NEXT: {{ $}}
; GCN-NEXT: renamable $sgpr14 = S_OR_B32 renamable $sgpr33, 2, implicit-def dead $scc
- ; GCN-NEXT: renamable $vgpr3 = COPY killed renamable $sgpr14
- ; GCN-NEXT: renamable $vgpr8_vgpr9 = IMPLICIT_DEF
- ; GCN-NEXT: renamable $vgpr1_vgpr2 = IMPLICIT_DEF
- ; GCN-NEXT: renamable $vgpr0_vgpr1_vgpr2_vgpr3_vgpr4_vgpr5_vgpr6_vgpr7 = IMPLICIT_DEF
+ ; GCN-NEXT: renamable $vgpr15 = COPY killed renamable $sgpr14
+ ; GCN-NEXT: renamable $vgpr9_vgpr10 = IMPLICIT_DEF
+ ; GCN-NEXT: renamable $vgpr13_vgpr14 = IMPLICIT_DEF
+ ; GCN-NEXT: renamable $vgpr1_vgpr2_vgpr3_vgpr4_vgpr5_vgpr6_vgpr7_vgpr8 = IMPLICIT_DEF
----------------
petar-avramovic wrote:
copy is in $vgpr15, no overwrite
https://github.com/llvm/llvm-project/pull/89050
More information about the llvm-commits
mailing list