We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fa6a67 commit 2c217b2Copy full SHA for 2c217b2
mlir/lib/AsmParser/AffineParser.cpp
@@ -311,13 +311,6 @@ AffineExpr AffineParser::parseSSAIdExpr(bool isSymbol) {
311
if (getToken().isNot(Token::percent_identifier))
312
return emitWrongTokenError("expected ssa identifier"), nullptr;
313
auto name = getTokenSpelling();
314
- // Check if we already parsed this SSA id.
315
- for (auto entry : dimsAndSymbols) {
316
- if (entry.first == name) {
317
- consumeToken(Token::percent_identifier);
318
- return entry.second;
319
- }
320
321
// Parse the SSA id and add an AffineDim/SymbolExpr to represent it.
322
if (parseElement(isSymbol))
323
return nullptr;
0 commit comments