[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:59:50 PDT 2017


bmakam added a comment.

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

> Have you tried it?  Changing jump threading to have early/late versions is trivial, the question is when should the late one run, and if that would help in the first place.


I reverted this change and it recovered the regression. I was going to try to re-run the whole jumpthreading pass after latesimplifycfg to see if it would help, but I don't know if it is a good place because LSR that runs after, will not have the loop in canonical form and loopsimplify will again turn it into irreducible loop. Another place I was thinking was to try before CGP.


Repository:
  rL LLVM

https://reviews.llvm.org/D36404





More information about the llvm-commits mailing list