[PATCH] D30774: [SimplifyCFG] Merging duplicated basic blocks

Kenneth Hilmersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 10 02:09:07 PST 2021


KennethH added a comment.

We have some cases where a modified version of this patch (modified to also allow optimizing non-branch CFG edges) makes a **huge** difference in compile time and code size.
The code contains large switch cases where lots of the case BB are equal.

I have a question if this wouldn´t be a good optimization to have in the framework after all?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D30774/new/

https://reviews.llvm.org/D30774



More information about the llvm-commits mailing list