diff options
author | Abinav Puthan Purayil <abinavpp@gmail.com> | 2022-05-08 21:24:52 +0530 |
---|---|---|
committer | Abinav Puthan Purayil <abinavpp@gmail.com> | 2022-07-08 09:47:33 +0530 |
commit | c42fe5bd7a336250dfcce18673b717af9380a69a (patch) | |
tree | dc834cbd6a59c71f932a314c66a8cab4dbff8e7a /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 7504c7a8772b1205eb561ecc5a1a73b9d4e99d27 (diff) | |
download | llvm-c42fe5bd7a336250dfcce18673b717af9380a69a.zip llvm-c42fe5bd7a336250dfcce18673b717af9380a69a.tar.gz llvm-c42fe5bd7a336250dfcce18673b717af9380a69a.tar.bz2 |
[GlobalISel][SelectionDAG] Implement the HasNoUse builtin predicate
This change introduces the HasNoUse builtin predicate in PatFrags that
checks for the absence of use of the first result operand.
GlobalISelEmitter will allow source PatFrags with this predicate to be
matched with destination instructions with empty outs. This predicate is
required for selecting the no-return variant of atomic instructions in
AMDGPU.
Differential Revision: https://reviews.llvm.org/D125212
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions