[llvm-branch-commits] [mlir] [mlir][Transforms] Fix crash in `-remove-dead-values` on private functions (PR #169269)
Matthias Springer via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Nov 27 22:03:18 PST 2025
matthias-springer wrote:
> Seems to me that this is a case where we would insert a "unreachable" terminator instead?
I like this approach. This allows us to fix the `-remove-dead-values` pass without having to run a second analysis such as "finding dead symbols" -- the pass stays relatively simple.
I updated the pull request accordingly.
https://github.com/llvm/llvm-project/pull/169269
More information about the llvm-branch-commits
mailing list