[llvm] [NVPTX] Teach NVPTX about predicates (PR #67468)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 26 12:42:24 PDT 2023
================
@@ -2095,6 +2168,8 @@ bool NVPTXDAGToDAGISel::tryStoreRetval(SDNode *N) {
for (unsigned i = 0; i < NumElts; ++i)
Ops.push_back(N->getOperand(i + 2));
Ops.push_back(CurDAG->getTargetConstant(OffsetVal, DL, MVT::i32));
+ Ops.push_back(PRED(0));
----------------
Artem-B wrote:
Nit: we could fold all those `push_back` into `Ops.append({....})`
https://github.com/llvm/llvm-project/pull/67468
More information about the llvm-commits
mailing list