Addressed rest of post submit comments from D31993.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
SILoadStoreOptimizer itself does not use new helper because that would require an extra SGPR and move for every combined lds operation.
Comment Actions
What is preventing SIShrinkInstructions from handling it?
lib/Target/AMDGPU/SIInstrInfo.h | ||
---|---|---|
771 | const DebugLoc& |
Comment Actions
It just does not process it. It ends up here:
if (SDst) { if (SDst->getReg() != AMDGPU::VCC) { if (TargetRegisterInfo::isVirtualRegister(SDst->getReg())) MRI.setRegAllocationHint(SDst->getReg(), 0, AMDGPU::VCC); continue; }
Comment Actions
It can handle only:
V_MOV_B32_e32
S_NOP
S_ADD_I32
S_MUL_I32
SOPC*
S_MOV_B32
VOPC*
V_CNDMASK_B32_e32
const DebugLoc&