This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Assume getDefIgnoringCopies will succeed. NFC.
ClosedPublic

Authored by foad on Oct 19 2022, 2:34 AM.

Details

Summary

getDefIgnoringCopies and getSrcRegIgnoringCopies should not fail on
valid MIR, so don't bother to check for failure.

Diff Detail

Event Timeline

foad created this revision.Oct 19 2022, 2:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 19 2022, 2:34 AM
foad requested review of this revision.Oct 19 2022, 2:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 19 2022, 2:34 AM
Pierre-vh accepted this revision.Oct 19 2022, 3:09 AM
This revision is now accepted and ready to land.Oct 19 2022, 3:09 AM
This revision was landed with ongoing or failed builds.Oct 19 2022, 3:14 AM
This revision was automatically updated to reflect the committed changes.