Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I have realized that SI_SPILL_* opcodes need a valid SReg_128, even if it is unused and will dropped after expansion. With this change ScratchRSrcReg is a $noreg which is not valid for the verifier.
I am using ttmp tuple as any reserved SReg_128 will work and at the end it will not be used. In general I could create a new unallocatable pseudo RC with SGPR_128 + PRIVATE_RSRC_REG just for that, but it looks like an overkill.
Comment Actions
We should drop the registers from the spill pseudos since we need reserved registers anyway and can insert them when frame indexes are handled