[Mlir-commits] [mlir] [mlir][LLVM] Add operand bundle support (PR #108933)
Markus Böck
llvmlistbot at llvm.org
Thu Sep 19 07:48:32 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({}));
----------------
zero9178 wrote:
This should not necessary if the `OptionalProperty` is deleted.
(and would otherwise better be spelled as `newOp.properties.op_bundles_sizes = {};` I believe)
https://github.com/llvm/llvm-project/pull/108933
More information about the Mlir-commits
mailing list