Skip to content

Commit 6534099

Browse files
committed
emit create for custom builders
1 parent 5d8da8d commit 6534099

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3100,6 +3100,7 @@ void OpEmitter::genBuilder() {
31003100
fctx.addSubst("_state", builderOpState);
31013101
if (body)
31023102
method->body() << tgfmt(*body, &fctx);
3103+
genInlineCreateBody(arguments);
31033104
}
31043105

31053106
// Generate default builders that requires all result type, operands, and

0 commit comments

Comments
 (0)