File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
mlir/test/lib/Dialect/Test Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -236,13 +236,14 @@ void test::writeToMlirBytecode(DialectBytecodeWriter &writer,
236236// Dynamic operations
237237// ===----------------------------------------------------------------------===//
238238
239- std::unique_ptr<DynamicOpDefinition> getDynamicGenericOp (TestDialect *dialect) {
239+ static std::unique_ptr<DynamicOpDefinition>
240+ getDynamicGenericOp (TestDialect *dialect) {
240241 return DynamicOpDefinition::get (
241242 " dynamic_generic" , dialect, [](Operation *op) { return success (); },
242243 [](Operation *op) { return success (); });
243244}
244245
245- std::unique_ptr<DynamicOpDefinition>
246+ static std::unique_ptr<DynamicOpDefinition>
246247getDynamicOneOperandTwoResultsOp (TestDialect *dialect) {
247248 return DynamicOpDefinition::get (
248249 " dynamic_one_operand_two_results" , dialect,
@@ -262,7 +263,7 @@ getDynamicOneOperandTwoResultsOp(TestDialect *dialect) {
262263 [](Operation *op) { return success (); });
263264}
264265
265- std::unique_ptr<DynamicOpDefinition>
266+ static std::unique_ptr<DynamicOpDefinition>
266267getDynamicCustomParserPrinterOp (TestDialect *dialect) {
267268 auto verifier = [](Operation *op) {
268269 if (op->getNumOperands () == 0 && op->getNumResults () == 0 )
You can’t perform that action at this time.
0 commit comments