This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] NFC refactoring in isel for buffer access intrinsics
ClosedPublic

Authored by foad on Jul 20 2021, 4:10 AM.

Details

Summary

Rename getBufferOffsetForMMO to updateBufferMMO and pass in the MMO to
be updated, in preparation for the bug fix in D106284.

Call updateBufferMMO consistently for all buffer intrinsics, even the
ones that use setBufferOffsets to decompose a combined offset
expression.

Add a getIdxEn helper function.

Diff Detail

Event Timeline

foad created this revision.Jul 20 2021, 4:10 AM
foad requested review of this revision.Jul 20 2021, 4:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 20 2021, 4:10 AM
arsenm accepted this revision.Jul 20 2021, 8:12 AM
This revision is now accepted and ready to land.Jul 20 2021, 8:12 AM
This revision was landed with ongoing or failed builds.Jul 21 2021, 3:23 AM
This revision was automatically updated to reflect the committed changes.