From 2ae44362d15054895311b77bcddd2f47270be08b Mon Sep 17 00:00:00 2001 From: Luis Miguel Sousa Date: Tue, 3 Dec 2024 12:54:34 +0000 Subject: [PATCH] Add template arg names field to builder method --- mlir/include/mlir/Dialect/EmitC/IR/EmitC.td | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td index c841cfa7c697e0..2003454732d839 100644 --- a/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td +++ b/mlir/include/mlir/Dialect/EmitC/IR/EmitC.td @@ -302,8 +302,9 @@ def EmitC_CallOpaqueOp : EmitC_Op<"call_opaque", [CExpression]> { "::llvm::StringRef":$callee, "::mlir::ValueRange":$operands, CArg<"::mlir::ArrayAttr", "{}">:$args, - CArg<"::mlir::ArrayAttr", "{}">:$template_args), [{ - build($_builder, $_state, resultTypes, callee, args, template_args, {}, + CArg<"::mlir::ArrayAttr", "{}">:$template_args, + CArg<"::mlir::ArrayAttr", "{}">:$template_arg_names), [{ + build($_builder, $_state, resultTypes, callee, args, template_args, template_arg_names, operands); }] >