aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorAbinav Puthan Purayil <abinavpp@gmail.com>2022-05-08 21:24:52 +0530
committerAbinav Puthan Purayil <abinavpp@gmail.com>2022-07-08 09:47:33 +0530
commitc42fe5bd7a336250dfcce18673b717af9380a69a (patch)
treedc834cbd6a59c71f932a314c66a8cab4dbff8e7a /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent7504c7a8772b1205eb561ecc5a1a73b9d4e99d27 (diff)
downloadllvm-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