@@ -108,7 +108,6 @@ struct TestBytecodeCallbackPass
108
108
// Print the module to the output stream, so that we can filecheck the
109
109
// result.
110
110
newModuleOp->print (llvm::outs ());
111
- return ;
112
111
}
113
112
114
113
// Test0: let's assume that versions older than 2.0 were relying on a special
@@ -184,7 +183,6 @@ struct TestBytecodeCallbackPass
184
183
return success ();
185
184
});
186
185
doRoundtripWithConfigs (op, writeConfig, parseConfig);
187
- return ;
188
186
}
189
187
190
188
// Test1: When writing bytecode, we override the encoding of TestI32Type with
@@ -216,7 +214,6 @@ struct TestBytecodeCallbackPass
216
214
// We natively parse the attribute as a builtin, so no callback needed.
217
215
ParserConfig parseConfig (op->getContext (), /* verifyAfterParse=*/ true );
218
216
doRoundtripWithConfigs (op, writeConfig, parseConfig);
219
- return ;
220
217
}
221
218
222
219
// Test2: When writing bytecode, we write standard builtin IntegerTypes. At
@@ -244,7 +241,6 @@ struct TestBytecodeCallbackPass
244
241
return success ();
245
242
});
246
243
doRoundtripWithConfigs (op, writeConfig, parseConfig);
247
- return ;
248
244
}
249
245
250
246
// Test3: When writing bytecode, we override the encoding of
@@ -280,7 +276,6 @@ struct TestBytecodeCallbackPass
280
276
// We natively parse the attribute as a builtin, so no callback needed.
281
277
ParserConfig parseConfig (op->getContext (), /* verifyAfterParse=*/ false );
282
278
doRoundtripWithConfigs (op, writeConfig, parseConfig);
283
- return ;
284
279
}
285
280
286
281
// Test4: When writing bytecode, we write standard builtin
@@ -318,7 +313,6 @@ struct TestBytecodeCallbackPass
318
313
return success ();
319
314
});
320
315
doRoundtripWithConfigs (op, writeConfig, parseConfig);
321
- return ;
322
316
}
323
317
324
318
// Test5: When writing bytecode, we want TestDialect to use nothing else than
@@ -360,7 +354,6 @@ struct TestBytecodeCallbackPass
360
354
return success ();
361
355
});
362
356
doRoundtripWithConfigs (op, writeConfig, parseConfig);
363
- return ;
364
357
}
365
358
};
366
359
} // namespace
0 commit comments