These spills need special CFI anyway, so implementing them directly
where CFI is emitted avoids the need to invent a mechanism to track them
from ISel.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Time | Test | |
---|---|---|
1,250 ms | LLVM.CodeGen/AMDGPU::Unknown Unit Message ("") |
Event Timeline
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | ||
---|---|---|
1408 | The hard-coded SGPR size, I meant to come back and actually check relative to the SGPR. |
Rebase onto LLVM master. Tidy up code little bit and couple of fixes.
And also, handle cases where no free VGPR is available to spill into and we have to spill into memeory.
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | ||
---|---|---|
91 | Add a comment about why this is here. What is DwordOff about? | |
608 | Needs a comment explaining what this does. | |
661 | Needs a comment explaining what this does. | |
1037 | Can this be simplified by splitting into multiple if statements and commented? All of the chained logical operations are difficult to parse. | |
1087 | Needs a comment. | |
1304 | Needs a comment. | |
1368 | Needs a comment. | |
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | ||
428 ↗ | (On Diff #290938) | Needs a comment. |
Rebase onto LLVM trunk and couple of bug fixes where we need to save FP due to CFI register spills but did not save it.
Add a comment about why this is here. What is DwordOff about?