diff options
author | Michele Scuttari <michele.scuttari@outlook.com> | 2025-05-01 09:12:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-01 09:12:33 +0200 |
commit | 7ec1e0f7ba9f3b03fa6163ab62c17dc9b404303e (patch) | |
tree | b2366c7c8aa2814ab9d1fa108a32dc5cd2da076b /clang/unittests/Frontend/CompilerInstanceTest.cpp | |
parent | ac9e1df3efcaa80b8e0fc8a16a929c0f0dc2e161 (diff) | |
download | llvm-7ec1e0f7ba9f3b03fa6163ab62c17dc9b404303e.zip llvm-7ec1e0f7ba9f3b03fa6163ab62c17dc9b404303e.tar.gz llvm-7ec1e0f7ba9f3b03fa6163ab62c17dc9b404303e.tar.bz2 |
[MLIR] Add method to invalidate cached symbol table (#138014)
This PR adds a method to the `SymbolTableCollection` class to invalidate
the cached symbol table for an operation.
This is important when doing IR modifications that erase and also create
operations having the `OpTrait::SymbolTable` trait. If a symbol table of
an erased operation is not invalidated, a new operation sharing the same
address would be associated with outdated, and wrong, information.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInstanceTest.cpp')
0 files changed, 0 insertions, 0 deletions