[PATCH] D128241: [AMDGPU] Use AddedComplexity for ret and noret atomic ops selection
Abinav Puthan Purayil via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 20 21:48:19 PDT 2022
abinavpp created this revision.
abinavpp added reviewers: arsenm, foad, Petar.Avramovic, rampitec.
Herald added subscribers: kosarev, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
abinavpp requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
This patch removes the predicate for return atomic ops and uses
AddedComplexity to distinguish its selection from its no return variant.
This will produce better matchers that doesn't unnecessarily check for
the negated predicate if the initial predicate failed. Also, it
simplifies the enabling of no return atomic ops selection in GlobalISel.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D128241
Files:
llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
llvm/lib/Target/AMDGPU/BUFInstructions.td
llvm/lib/Target/AMDGPU/DSInstructions.td
llvm/lib/Target/AMDGPU/FLATInstructions.td
llvm/lib/Target/AMDGPU/SIInstrInfo.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128241.438552.patch
Type: text/x-patch
Size: 24430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220621/47756c6e/attachment.bin>
More information about the llvm-commits
mailing list