In loadSRsrcFromVGPR, if MBB is the same as Succ, Remiander is not the immediate dominator of Succ.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
4459 | ->properlyDominates? |
test/CodeGen/AMDGPU/immediate-dominator-fix.ll | ||
---|---|---|
4 | The test and file name need work. This is specifically a problem when the resource descriptor is emitted as a waterfall loop | |
40 | 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 | right. Thanks. |
->properlyDominates?