We did not have atomic flags on SMRD, did not copy TSFlags
to real instructions, and did not have ret/noret atomic map.
At the moment it is NFC, but needed for D96469.
Paths
| Differential D96823
[AMDGPU] Mark SMRD atomics ClosedPublic Authored by rampitec on Feb 16 2021, 4:41 PM.
Details
Summary We did not have atomic flags on SMRD, did not copy TSFlags At the moment it is NFC, but needed for D96469.
Diff Detail Event TimelineHerald added subscribers: kerbowa, jfb, hiraditya and 7 others. · View Herald TranscriptFeb 16 2021, 4:41 PM
Comment Actions
Doesn't this mean that SITargetLowering::AdjustInstrPostInstrSelection will start optimizing the ret form to the noret form? Comment Actions
Hm... Theoretically. Comment Actions
I don't think selecting the scalar atomics was ever supported Comment Actions
Right, I do not see patterns. This revision is now accepted and ready to land.Feb 17 2021, 1:57 PM Closed by commit rG48d2e0415236: [AMDGPU] Mark SMRD atomics (authored by rampitec). · Explain WhyFeb 17 2021, 4:47 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 324133 llvm/lib/Target/AMDGPU/SMInstructions.td
|
Why parse this out instead of appending _RTN?