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
Event Timeline
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | ||
---|---|---|
1353 | 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 | ||
---|---|---|
97 | Add a comment about why this is here. What is DwordOff about? | |
607 | Needs a comment explaining what this does. | |
619 | Needs a comment explaining what this does. | |
988 | Can this be simplified by splitting into multiple if statements and commented? All of the chained logical operations are difficult to parse. | |
1038 | Needs a comment. | |
1247 | Needs a comment. | |
1313 | 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?