Merge the SMRD patterns for CI into the same multiclass as the
patterns for other sub-targets.
This removes some duplicate code and will make it easier for some
future GlobalISel changes I would like to do.
Paths
| Differential D52557
AMDGPU: Consolidate SMRD TableGen patterns ClosedPublic Authored by tstellar on Sep 26 2018, 9:20 AM.
Details Summary Merge the SMRD patterns for CI into the same multiclass as the This removes some duplicate code and will make it easier for some
Diff Detail
Event TimelineHerald added subscribers: t-tye, tpr, dstuttard and 5 others. · View Herald TranscriptSep 26 2018, 9:20 AM Comment Actions Nice. Patch LGTM except for one cosmetic issue. No need to update on Phabricator before commit as far as I'm concerned.
This revision is now accepted and ready to land.Oct 5 2018, 6:11 AM Closed by commit rL343909: AMDGPU: Consolidate SMRD TableGen patterns (authored by tstellar). · Explain WhyOct 5 2018, 8:34 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 167151 lib/Target/AMDGPU/SMInstructions.td
|
This patch removes the only place where SM_LOAD_PATTERN.AddedComplexity is used, so the comment should be removed, and the defm name should be removed as well to keep things consistent.