- During the fixing of SGPR copying from VGPR, ensure users of SCC is properly propagated, i.e.
- only propagate through live def of SCC,
- skip the SCC-def inst itself, and
- stop the propagation on the other SCC-def inst after checking its SCC-use first.
|172–184 ↗||(On Diff #190611)|
This is case where I found the long SCC chain(s). Yeah, the expansion is huge. But, to constructing a SCC chain with parts of instructions without SGPR dependency but SCC dependency is hard, also that sequence needs part of code has to use VGPR. Could you just use this minimalist LLVM IR test?