[CodeGen][AMDGPU] Remove premature empty subrange elimination (#201263)

This commit removes a call to `removeEmptySubRanges` inside
`SplitEditor::rewriteAssigned` which removes empty subranges that may be
expected at a later stage. The empty subranges are eliminated by a later
call to `removeEmptySubRanges`.

Fixes https://github.com/llvm/llvm-project/issues/199337.

---------

Signed-off-by: Steffen Holst Larsen <sholstla@amd.com>
This commit is contained in:
Steffen Larsen 2026-06-04 06:22:51 +02:00 committed by GitHub
parent 36e714b787
commit 4a77ce7c6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1730 additions and 1 deletions

View file

@ -1477,7 +1477,6 @@ void SplitEditor::rewriteAssigned(bool ExtendRanges) {
if (!LI.hasSubRanges())
continue;
LI.clear();
LI.removeEmptySubRanges();
LIS.constructMainRangeFromSubranges(LI);
}
}

File diff suppressed because it is too large Load diff