This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU/LoadStoreOptimizer: Set the correct offset whem merging MMOs
ClosedPublic

Authored by tstellar on Jul 31 2019, 10:17 PM.

Details

Summary

This is a follow up to r367237. MachineFunction::getMachineMemOperand()
adds the offset parameter to the existing offset instead of resetting it.
So we need to reset the offset to the correct value after calling this
function.

Event Timeline

tstellar created this revision.Jul 31 2019, 10:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 31 2019, 10:17 PM
arsenm accepted this revision.Jul 31 2019, 10:35 PM
This revision is now accepted and ready to land.Jul 31 2019, 10:35 PM
This revision was automatically updated to reflect the committed changes.