[PATCH] D35411: [SimplifyCFG] Defer folding unconditional branches to LateSimplifyCFG if it can destroy canonical loop structure.

Balaram Makam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 14:07:09 PDT 2017


bmakam marked an inline comment as done.
bmakam added a comment.

In https://reviews.llvm.org/D35411#813525, @efriedma wrote:

> I mean the CodeGenPrepare changes (which are deleting blocks generated by LSR) vs the other changes (which modify transforms that run before LSR).


It seems to be unrelated to the rest of this patch. Though the problem in spec2017/perlbench surfaces only with this patch and regresses the benchmark by 3%. The CGP changes by itself was performance neutral on SPEC.
I can split this out as a separate change if you prefer.


https://reviews.llvm.org/D35411





More information about the llvm-commits mailing list