[PATCH] D67076: [LoopInterchange] Make sure we create PHI nodes for uses in split off latch.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 15:57:00 PDT 2019


efriedma added a comment.

I'm not sure how you never hit this issue before.  I mean, I can see from the testcase that the compare for the outer loop's branch can end up in the inner loop... but why is it not *always* in the inner loop?  What criteria are we using to sink it in some cases?  Should we be sinking in all cases?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67076/new/

https://reviews.llvm.org/D67076





More information about the llvm-commits mailing list