Skip to content

Commit 61304ee

Browse files
committed
Check all attributes rather than discardable only
1 parent 14b00a4 commit 61304ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/IR/SymbolTable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ LogicalResult detail::verifySymbolTable(Operation *op) {
513513
if (SymbolUserOpInterface user = dyn_cast<SymbolUserOpInterface>(op))
514514
if (failed(user.verifySymbolUses(symbolTable)))
515515
return WalkResult::interrupt();
516-
for (auto &attr : op->getRawDictionaryAttrs()) {
516+
for (auto &attr : op->getAttrs()) {
517517
if (auto user = dyn_cast<SymbolUserAttrInterface>(attr.getValue())) {
518518
if (failed(user.verifySymbolUses(op, symbolTable)))
519519
return WalkResult::interrupt();

0 commit comments

Comments
 (0)