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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to