@@ -200,7 +200,7 @@ struct TestBytecodeRoundtripPass
200
200
// the encoding of builtin IntegerType. We can natively parse this without
201
201
// the use of a callback, relying on the existing builtin reader mechanism.
202
202
void runTest1 (Operation *op) {
203
- auto builtin = op->getContext ()->getLoadedDialect <mlir::BuiltinDialect>();
203
+ auto * builtin = op->getContext ()->getLoadedDialect <mlir::BuiltinDialect>();
204
204
BytecodeDialectInterface *iface =
205
205
builtin->getRegisteredInterface <BytecodeDialectInterface>();
206
206
BytecodeWriterConfig writeConfig;
@@ -231,7 +231,7 @@ struct TestBytecodeRoundtripPass
231
231
// parsing, we use the encoding of IntegerType to intercept all i32. Then,
232
232
// instead of creating i32s, we assemble TestI32Type and return it.
233
233
void runTest2 (Operation *op) {
234
- auto builtin = op->getContext ()->getLoadedDialect <mlir::BuiltinDialect>();
234
+ auto * builtin = op->getContext ()->getLoadedDialect <mlir::BuiltinDialect>();
235
235
BytecodeDialectInterface *iface =
236
236
builtin->getRegisteredInterface <BytecodeDialectInterface>();
237
237
BytecodeWriterConfig writeConfig;
@@ -259,7 +259,7 @@ struct TestBytecodeRoundtripPass
259
259
// can natively parse this without the use of a callback, relying on the
260
260
// existing builtin reader mechanism.
261
261
void runTest3 (Operation *op) {
262
- auto builtin = op->getContext ()->getLoadedDialect <mlir::BuiltinDialect>();
262
+ auto * builtin = op->getContext ()->getLoadedDialect <mlir::BuiltinDialect>();
263
263
BytecodeDialectInterface *iface =
264
264
builtin->getRegisteredInterface <BytecodeDialectInterface>();
265
265
auto i32Type = IntegerType::get (op->getContext (), 32 ,
@@ -295,7 +295,7 @@ struct TestBytecodeRoundtripPass
295
295
// <2xi32>. Instead of assembling a DenseIntElementsAttr, we assemble
296
296
// TestAttrParamsAttr and return it.
297
297
void runTest4 (Operation *op) {
298
- auto builtin = op->getContext ()->getLoadedDialect <mlir::BuiltinDialect>();
298
+ auto * builtin = op->getContext ()->getLoadedDialect <mlir::BuiltinDialect>();
299
299
BytecodeDialectInterface *iface =
300
300
builtin->getRegisteredInterface <BytecodeDialectInterface>();
301
301
auto i32Type = IntegerType::get (op->getContext (), 32 ,
@@ -330,7 +330,7 @@ struct TestBytecodeRoundtripPass
330
330
// the builtin types and attributes and take full control of the encoding,
331
331
// returning failure if any type or attribute is not part of builtin.
332
332
void runTest5 (Operation *op) {
333
- auto builtin = op->getContext ()->getLoadedDialect <mlir::BuiltinDialect>();
333
+ auto * builtin = op->getContext ()->getLoadedDialect <mlir::BuiltinDialect>();
334
334
BytecodeDialectInterface *iface =
335
335
builtin->getRegisteredInterface <BytecodeDialectInterface>();
336
336
BytecodeWriterConfig writeConfig;
0 commit comments