summaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Bytecode')
-rw-r--r--mlir/lib/Bytecode/Writer/IRNumbering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Bytecode/Writer/IRNumbering.cpp b/mlir/lib/Bytecode/Writer/IRNumbering.cpp
index 67f929059e47..74c45723c222 100644
--- a/mlir/lib/Bytecode/Writer/IRNumbering.cpp
+++ b/mlir/lib/Bytecode/Writer/IRNumbering.cpp
@@ -557,7 +557,7 @@ struct NumberingResourceBuilder : public AsmResourceBuilder {
void numberEntry(StringRef key) {
// TODO: We could pre-number resource key strings here as well.
- auto it = dialect->resourceMap.find(key);
+ auto *it = dialect->resourceMap.find(key);
if (it != dialect->resourceMap.end()) {
it->second->number = nextResourceID++;
it->second->isDeclaration = false;