[PATCH] D36404: Disable jump threading into loop headers

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 14 08:25:31 PDT 2017


kparzysz added a comment.

On another note, this patch was meant to prevent adding extra branches to the header from within the loop.  Branches to the header that come from outside of the loop should be fine.  In other words, it should be ok to refine the check to only disable jump threading when any of the PredBBs is dominated by the header (SuccBB).


Repository:
  rL LLVM

https://reviews.llvm.org/D36404





More information about the llvm-commits mailing list