[Mlir-commits] [mlir] [mlir][LLVM] Add operand bundle support (PR #108933)
Sirui Mu
llvmlistbot at llvm.org
Mon Sep 23 08:20:38 PDT 2024
================
@@ -544,6 +544,12 @@ struct CallOpInterfaceLowering : public ConvertOpToLLVMPattern<CallOpType> {
callOp.getLoc(), packedResult ? TypeRange(packedResult) : TypeRange(),
promoted, callOp->getAttrs());
+ newOp->setAttr(newOp.getOperandSegmentSizesAttrName(),
+ rewriter.getDenseI32ArrayAttr(
+ {static_cast<int32_t>(promoted.size()), 0}));
+ newOp->setAttr(newOp.getOpBundleSizesAttrName(),
+ rewriter.getDenseI32ArrayAttr({}));
----------------
Lancern wrote:
Updated.
https://github.com/llvm/llvm-project/pull/108933
More information about the Mlir-commits
mailing list