This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Use defvar in SOPInstructions.td. NFC.
ClosedPublic

Authored by foad on Jun 15 2021, 9:23 AM.

Details

Summary

Factor out repeated !cast<SOP*_Pseudo>(NAME) into a new "defvar ps",
just to improve readability and maintainability.

Diff Detail

Event Timeline

foad created this revision.Jun 15 2021, 9:23 AM
foad requested review of this revision.Jun 15 2021, 9:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2021, 9:23 AM
This revision is now accepted and ready to land.Jun 15 2021, 9:34 AM
rampitec accepted this revision.Jun 15 2021, 10:46 AM
This revision was landed with ongoing or failed builds.Jun 16 2021, 1:17 AM
This revision was automatically updated to reflect the committed changes.