This repository was archived by the owner on Sep 15, 2025. It is now read-only.
Commit 8df7e2c
committed
[AMDGPU] When allocating VGPRs, VGPR spills are not part of the prologue
PRs llvm#69924 and llvm#72140 modified SIInstrInfo::isBasicBlockPrologue to skip
over EXEC modifications and spills when allocating VGPRs. But treating
VGPR spills as part of the prologue can confuse the register allocator
as in llvm#109294, so restrict it to SGPR spills, which were inserted during
SGPR allocation which is done in an earlier pass.
Fixes: llvm#109294
Fixes: SWDEV-485841
Change-Id: I328fb2edfca8110ea36c94812e60bc1d7663c2661 parent ba4f980 commit 8df7e2c
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8902 | 8902 | | |
8903 | 8903 | | |
8904 | 8904 | | |
8905 | | - | |
8906 | | - | |
| 8905 | + | |
| 8906 | + | |
| 8907 | + | |
8907 | 8908 | | |
8908 | 8909 | | |
8909 | 8910 | | |
| |||
0 commit comments