This was assuming all register operands were assigned to physical registers.
This should ignore the operands which weren't assigned in this run.
Fixes #61134
Paths
| Differential D145252
RegAllocFast: Fix dropping subreg indexes on unassigned subreg defs ClosedPublic Authored by arsenm on Mar 3 2023, 9:20 AM.
Details
Diff Detail Event TimelineComment Actions Nice catch! Just one comment: Could you rename the filename of the added test case with something more explanatory? (E.g., regalloc-fast-dont-drop-subreg-index.mir) This revision is now accepted and ready to land.Apr 4 2023, 7:06 AM
Revision Contents
Diff 502157 llvm/lib/CodeGen/RegAllocFast.cpp
llvm/test/CodeGen/AMDGPU/issue61134.mir
|