If the subregister uses were dead, this would leave the main range
segment pointing to a deleted instruction.
Not sure if this should try to avoid shrinking if we know we don't
have dead components.
Paths
| Differential D127227
RegisterCoalescer: Shrink main range after shrinking subranges ClosedPublic Authored by arsenm on Jun 7 2022, 9:38 AM.
Details
Diff Detail
Unit TestsFailed Event TimelineThis revision is now accepted and ready to land.Jul 20 2022, 9:02 AM
Revision Contents
Diff 435948 llvm/lib/CodeGen/RegisterCoalescer.cpp
llvm/test/CodeGen/AMDGPU/coalesce-into-dead-subreg-copies.mir
llvm/test/CodeGen/AMDGPU/loop-live-out-copy-undef-subrange.ll
|