If we write an immediate to a VGPR and then copy the VGPR to an
SGPR, we can replace the copy with a S_MOV_B32 sgpr, imm, rather than
moving the copy to the SALU.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/SIFixSGPRCopies.cpp | ||
---|---|---|
370–371 ↗ | (On Diff #79779) | MI is a copy here, so there are no implicit exec uses. |