[PATCH] D30572: Remove equal BBs from a function

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 07:19:00 PDT 2017


MatzeB requested changes to this revision.
MatzeB added a comment.
This revision now requires changes to proceed.

We also have TailMerging (part of BranchFolding) which should merges equivalent instruction sequences going to a return and is enabled by default. Apparently it doesn't catch the case in loop-search.ll (and you didn't provide additional examples/tests unfortunately) but we should better search for bugs there instead of adding a new pass.


https://reviews.llvm.org/D30572





More information about the llvm-commits mailing list