File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mlir/lib/Dialect/MLProgram/IR Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ LogicalResult GlobalOp::verify() {
178178// ===----------------------------------------------------------------------===//
179179
180180GlobalOp GlobalLoadOp::getGlobalOp (SymbolTableCollection &symbolTable) {
181- for (auto parent = getOperation ()->getParentOp (); parent;
181+ for (auto * parent = getOperation ()->getParentOp (); parent;
182182 parent = parent->getParentOp ()) {
183183 if (auto nearest = symbolTable.lookupNearestSymbolFrom <GlobalOp>(
184184 parent, getGlobalAttr ())) {
@@ -259,7 +259,7 @@ GlobalLoadGraphOp::verifySymbolUses(SymbolTableCollection &symbolTable) {
259259// ===----------------------------------------------------------------------===//
260260
261261GlobalOp GlobalStoreOp::getGlobalOp (SymbolTableCollection &symbolTable) {
262- for (auto parent = getOperation ()->getParentOp (); parent;) {
262+ for (auto * parent = getOperation ()->getParentOp (); parent;) {
263263 if (auto nearest = symbolTable.lookupNearestSymbolFrom <GlobalOp>(
264264 parent, getGlobalAttr ())) {
265265 return nearest;
You can’t perform that action at this time.
0 commit comments