Files
llvm-project/mlir/lib/Bytecode/Reader/BytecodeReader.cpp
Hank a93ae211fe [MLIR] Fix duplicated attribute nodes in MLIR bytecode deserialization (#151267)
Fixes #150163 

MLIR bytecode does not preserve alias definitions, so each attribute
encountered during deserialization is treated as a new one. This can
generate duplicate `DISubprogram` nodes during deserialization.

The patch adds a `StringMap` cache that records attributes and fetches
them when encountered again.
2025-08-26 08:46:13 +02:00

98 KiB