[all-commits] [llvm/llvm-project] 7504c7: [AMDGPU] Use AddedComplexity for ret and noret ato...
Abinav Puthan Purayil via All-commits
all-commits at lists.llvm.org
Thu Jul 7 21:18:36 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7504c7a8772b1205eb561ecc5a1a73b9d4e99d27
https://github.com/llvm/llvm-project/commit/7504c7a8772b1205eb561ecc5a1a73b9d4e99d27
Author: Abinav Puthan Purayil <abinavpp at gmail.com>
Date: 2022-07-08 (Fri, 08 Jul 2022)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
Log Message:
-----------
[AMDGPU] Use AddedComplexity for ret and noret atomic ops selection
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.
Differential Revision: https://reviews.llvm.org/D128241
More information about the All-commits
mailing list