Skip to content

Commit 2014107

Browse files
authored
Add template arg names field to builder method of emitc's callopaque
1 parent 62459f4 commit 2014107

File tree

1 file changed

+3
-2
lines changed
  • mlir/include/mlir/Dialect/EmitC/IR

1 file changed

+3
-2
lines changed

mlir/include/mlir/Dialect/EmitC/IR/EmitC.td

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,9 @@ def EmitC_CallOpaqueOp : EmitC_Op<"call_opaque", [CExpression]> {
302302
"::llvm::StringRef":$callee,
303303
"::mlir::ValueRange":$operands,
304304
CArg<"::mlir::ArrayAttr", "{}">:$args,
305-
CArg<"::mlir::ArrayAttr", "{}">:$template_args), [{
306-
build($_builder, $_state, resultTypes, callee, args, template_args, {},
305+
CArg<"::mlir::ArrayAttr", "{}">:$template_args,
306+
CArg<"::mlir::ArrayAttr", "{}">:$template_arg_names), [{
307+
build($_builder, $_state, resultTypes, callee, args, template_args, template_arg_names,
307308
operands);
308309
}]
309310
>

0 commit comments

Comments
 (0)