[PATCH] D36404: Disable jump threading into loop headers

Balaram Makam via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 08:12:26 PDT 2017


bmakam added a comment.

In https://reviews.llvm.org/D36404#835401, @kparzysz wrote:

> On our internal benchmarks it's mostly neutral, but the benchmark that motivated it improved by 5.3%.  We have some extra code, though, that is supposed to deal with similar cases, so some of the impact may be reduced.  By default it keeps the behavior unchanged, so for all other architectures it should have no effect.


@kparzysz, This change regressed spec2017/perlbench by 3% on Falkor. Perhaps we need a late jump-threading pass like Hal suggested?


Repository:
  rL LLVM

https://reviews.llvm.org/D36404





More information about the llvm-commits mailing list