[PATCH] D94717: [LoopNest] Consider loop nest with inner loop guard using outer loop induction variable to be perfect

Whitney Tsang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 30 17:32:41 PDT 2021


Whitney added a comment.

In D94717#2730582 <https://reviews.llvm.org/D94717#2730582>, @bmahjour wrote:

> I think this changes the semantics for the cases that we used to handle before. For example wouldn't this require the exit successors to be empty? If so I think lcssa phis can prevent us from detecting guards. We need to test for those cases as well.

LCSSA phis should be in the loop exit block, not exit successors.


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

https://reviews.llvm.org/D94717



More information about the llvm-commits mailing list