File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
mlir/lib/Dialect/MLProgram/Transforms Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ class MLProgramPipelineGlobals
3838
3939// Traverses upwards searchign for the operation mapped by the symbol.
4040static Operation *getFromSymbol (Operation *baseOp, SymbolRefAttr symbol) {
41- for (auto op = baseOp; op; op = op->getParentOp ()) {
42- auto lookup = SymbolTable::lookupNearestSymbolFrom (op, symbol);
41+ for (auto * op = baseOp; op; op = op->getParentOp ()) {
42+ auto * lookup = SymbolTable::lookupNearestSymbolFrom (op, symbol);
4343 if (lookup)
4444 return lookup;
4545 }
@@ -59,7 +59,7 @@ LogicalResult MLProgramPipelineGlobals::buildGlobalMap(ModuleOp module) {
5959 }
6060
6161 auto symbol = mlir::dyn_cast<SymbolRefAttr>(callable);
62- auto func = getFromSymbol (op, symbol);
62+ auto * func = getFromSymbol (op, symbol);
6363 callableMap[symbol] = func;
6464 }
6565 return WalkResult::advance ();
@@ -201,7 +201,7 @@ void MLProgramPipelineGlobals::ProcessBlock(
201201 }
202202 }
203203
204- for (auto op : toDelete) {
204+ for (auto * op : toDelete) {
205205 op->erase ();
206206 }
207207}
You can’t perform that action at this time.
0 commit comments