[PATCH] D35584: [CGP] Fold empty dedicated exit blocks created by loopsimplify.

Balaram Makam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 14 13:22:24 PDT 2017


bmakam added a comment.

I have looked into the phi operands closely and I am not convinced if phi operands involving constants have any influence on the profitability of merging empty blocks. I identified empty exit blocks if when merged with their successors improved the performance a bit, yet if another similar empty exit block was merged with the destination block, it sinks the performance. The only difference between them is that the successor block is also empty when the performance regressed.


https://reviews.llvm.org/D35584





More information about the llvm-commits mailing list