diff options
author | Jacques Pienaar <jpienaar@google.com> | 2025-06-24 19:09:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-24 10:09:42 -0700 |
commit | 0c50971460cb4ff808990ade61e2d5688b9b9d73 (patch) | |
tree | 828fa34d7eaf3359f9c013f495917b0b87fc6cc1 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 418b409df8538bdf1b4865556607c220dc139fa8 (diff) | |
download | llvm-0c50971460cb4ff808990ade61e2d5688b9b9d73.zip llvm-0c50971460cb4ff808990ade61e2d5688b9b9d73.tar.gz llvm-0c50971460cb4ff808990ade61e2d5688b9b9d73.tar.bz2 |
[mlir] Walk nested non-symbol table ops in symbol dce (#143353)
The previous code was effectively that a symbol is dead if was not
nested in sequence of SymbolTables. But one can have operations that one
cannot delete/DCE that refers to symbols which one could delete which
resulted in symbol-dce deleting symbols that are still referenced and
the resulting IR being invalid. This changes it so that all operations
inside non SymbolTable op are considered to find nested SymbolTable ops.
---------
Co-authored-by: Mehdi Amini <joker.eph@gmail.com>
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions