When we are spilling SGPRs to scratch memory, we usually don't have
free SGPRs to do the address calculation, so we need to re-use the
ScratchOffset register for the calculation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Is a test possible?
lib/Target/AMDGPU/SIRegisterInfo.cpp | ||
---|---|---|
267 ↗ | (On Diff #53108) | SGPRS->SGPRs |
Comment Actions
I have a test case but it takes 45 seconds to compile. I wasn't able to create one using the inline asm hack either.