This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix assert when rewriting saddr d16 loads
ClosedPublic

Authored by arsenm on May 11 2021, 3:55 PM.

Details

Reviewers
rampitec
Summary

moveOperands does not handle moving tied operands since it would
generally have to fixup the tied operand references. Avoid the assert
by untying and retying after the modification. These in place
modifications really aren't managable.

Diff Detail

Event Timeline

arsenm created this revision.May 11 2021, 3:55 PM
arsenm requested review of this revision.May 11 2021, 3:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2021, 3:55 PM
Herald added a subscriber: wdng. · View Herald Transcript
This revision is now accepted and ready to land.May 11 2021, 3:57 PM