diff options
author | Perry Gibson <Wheest@users.noreply.github.com> | 2024-10-03 09:51:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-03 10:51:55 +0200 |
commit | 7ad566d575b9a3657f2bfd37005ef475154dd86d (patch) | |
tree | f84ed93a3c8ba13b1ddc88bb9f99f741a91d8e01 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 612760ede66142b89f626336b4ba7b2964641afb (diff) | |
download | llvm-7ad566d575b9a3657f2bfd37005ef475154dd86d.zip llvm-7ad566d575b9a3657f2bfd37005ef475154dd86d.tar.gz llvm-7ad566d575b9a3657f2bfd37005ef475154dd86d.tar.bz2 |
[mlir] Fix `remove-dead-values` pass throws error when module has a name (#109990)
Fixes #107870.
We can allow the enclosing Module operation to have a symbol.
The check was likely originally not considering this case and intended
to catch symbols inside the region, not accounting that the walk would
visit the enclosing operation.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions