[llvm] [SimplifyCFG] Avoid scanning functions multiple times in `removeUnreachableBlocks` (PR #213416)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 1 02:44:39 PDT 2026


dtcxzyw wrote:

> IMHO, removeUnreachableBlocks should not look at instructions at all.

We have EliminateUnreachableBlocks. But it seems to lack maintenance (I mean, the compile-time may get worse), so I'm hesitant to use it.

https://github.com/llvm/llvm-project/pull/213416


More information about the llvm-commits mailing list