In loadSRsrcFromVGPR, if MBB is the same as Succ, Remiander is not the immediate dominator of Succ.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
4459 ↗ | (On Diff #226276) | ->properlyDominates? |
test/CodeGen/AMDGPU/immediate-dominator-fix.ll | ||
---|---|---|
4 ↗ | (On Diff #226276) | The test and file name need work. This is specifically a problem when the resource descriptor is emitted as a waterfall loop |
40 ↗ | (On Diff #226276) | I would prefer using a different way of getting the VGPR resource descriptor. Can you just do the load of the full resource descriptor from memory? |
Comment Actions
Update based on the comments
- Use properlyDiminates
- Change to relevant names for the file and test
- Use a full load of the vgpr descriptor.
lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
4459 ↗ | (On Diff #226276) | right. Thanks. |