[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:
parent
36e714b787
commit
4a77ce7c6f
2 changed files with 1730 additions and 1 deletions
|
|
@ -1477,7 +1477,6 @@ void SplitEditor::rewriteAssigned(bool ExtendRanges) {
|
|||
if (!LI.hasSubRanges())
|
||||
continue;
|
||||
LI.clear();
|
||||
LI.removeEmptySubRanges();
|
||||
LIS.constructMainRangeFromSubranges(LI);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1730
llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask-phi-extend.ll
Normal file
1730
llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask-phi-extend.ll
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue