[llvm] SimplifyCFG: fold trivial non-empty blocks with safe instructions (PR #180350)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 7 07:57:17 PST 2026
https://github.com/nikic commented:
Sorry, but this PR just looks like complete nonsense to me. Merging a block with an unconditional branch terminator that goes to a block with a single predecessor is a trivial optimization that SimplifyCFG already performs, and that does not require any whitelisting of instructions. Notably, all your tests will also pass without your change.
https://github.com/llvm/llvm-project/pull/180350
More information about the llvm-commits
mailing list