This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Remove the assertion for MUBUF instruction with voffset
ClosedPublic

Authored by cdevadas on Nov 12 2022, 5:58 AM.

Details

Summary

Currently, there is an assertion that limits the MUBUF instruction
With voffset used for a VGPR spill inside kernel functions when
the frame pointer is really used. It seemed more like an unwanted
limitation and hence removing the assertion.

Diff Detail

Event Timeline

cdevadas created this revision.Nov 12 2022, 5:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2022, 5:58 AM
cdevadas requested review of this revision.Nov 12 2022, 5:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2022, 5:58 AM
arsenm accepted this revision.Nov 12 2022, 8:42 AM

LGTM. Adding an additional IR test wouldn't hurt

This revision is now accepted and ready to land.Nov 12 2022, 8:42 AM
cdevadas updated this revision to Diff 475048.Nov 13 2022, 9:45 PM

Added the IR test.

cdevadas updated this revision to Diff 475100.Nov 14 2022, 4:00 AM

Fixed a typo in the IR test file name.

arsenm accepted this revision.Nov 14 2022, 4:33 PM
This revision was landed with ongoing or failed builds.Nov 15 2022, 10:40 PM
This revision was automatically updated to reflect the committed changes.