diff options
author | Joshua Cao <cao.joshua@yahoo.com> | 2024-02-05 22:59:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-05 22:59:03 -0800 |
commit | 7d055af14b7dd7e782b87fb883205eda65e8bd44 (patch) | |
tree | bfe204703d5e373a78b974f8dafa1e91711d0a9d /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | d53043fa8b2223a1c985e4c74794aa248b4c9e6b (diff) | |
download | llvm-7d055af14b7dd7e782b87fb883205eda65e8bd44.zip llvm-7d055af14b7dd7e782b87fb883205eda65e8bd44.tar.gz llvm-7d055af14b7dd7e782b87fb883205eda65e8bd44.tar.bz2 |
[mlir][Symbol] Add verification that symbol's parent is a SymbolTable (#80590)
Following the discussion in
https://discourse.llvm.org/t/symboltable-and-symbol-parent-child-relationship/75446,
we should enforce that a symbol's immediate parent is a symbol table.
I changed some tests to pass the verification. In most cases, we can
wrap the func with a module, change the func to another op with regions
i.e. scf.if, or change the expected error message.
---------
Co-authored-by: Mehdi Amini <joker.eph@gmail.com>
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions