[all-commits] [llvm/llvm-project] 8b4ab0: [AMDGPU] Select no-return atomic ops in BUFInstruc...
Abinav Puthan Purayil via All-commits
all-commits at lists.llvm.org
Tue Mar 1 19:44:55 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8b4ab01c38343753fbd7f04f02c2303645735d9a
https://github.com/llvm/llvm-project/commit/8b4ab01c38343753fbd7f04f02c2303645735d9a
Author: Abinav Puthan Purayil <abinav.puthanpurayil at amd.com>
Date: 2022-03-02 (Wed, 02 Mar 2022)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/test/CodeGen/AMDGPU/buffer-intrinsics-mmo-offsets.ll
Log Message:
-----------
[AMDGPU] Select no-return atomic ops in BUFInstructions.td
This change adds the selection of no-return buffer_* instructions in
tblgen. The motivation for this is to get the no-return atomic isel
working without relying on post-isel hooks so that GlobalISel can start
selecting them (once GlobalISelEmitter allows no return atomic patterns
like how DAGISel does).
This change handles the selection of no-return mubuf_atomic_cmpswap in
tblgen without changing the extract_subreg generation for the return
variant. This handling was done by the post-isel hook.
Differential Revision: https://reviews.llvm.org/D120538
More information about the All-commits
mailing list