This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Use the HasNoUse predicate for no-ret atomic op selection
ClosedPublic

Authored by abinavpp on May 9 2022, 2:00 AM.

Details

Summary

This change replaces the C++ predicates with the HasNoUse builtin
predicate that would enable the no-ret atomic op selection in
GlobalISel.

Diff Detail

Event Timeline

abinavpp created this revision.May 9 2022, 2:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2022, 2:00 AM
abinavpp requested review of this revision.May 9 2022, 2:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2022, 2:00 AM
arsenm accepted this revision.May 9 2022, 2:48 AM
This revision is now accepted and ready to land.May 9 2022, 2:48 AM
abinavpp updated this revision to Diff 430972.May 20 2022, 7:54 AM

Replace GISelPredicateCode with Has{No}Use predicates

abinavpp updated this revision to Diff 438556.Jun 20 2022, 9:57 PM

Use only the HasNoUse predicate

abinavpp updated this revision to Diff 442054.Jul 4 2022, 3:05 AM
  • Rebase
  • Replace both the C++ predicates with HasNoUse
abinavpp retitled this revision from [AMDGPU][GlobalISel] Enable no-ret atomic selection to [AMDGPU] Use the HasNoUse predicate for no-ret atomic op selection.Jul 4 2022, 3:08 AM
abinavpp edited the summary of this revision. (Show Details)
arsenm accepted this revision.Jul 5 2022, 9:18 AM

LGTM

This revision was landed with ongoing or failed builds.Jul 7 2022, 9:22 PM
This revision was automatically updated to reflect the committed changes.