[PATCH] D151866: [LoopPeel] Reduce peel count for chains of invariant phis.

Joshua Cao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 1 00:23:36 PDT 2023


caojoshua abandoned this revision.
caojoshua added a comment.

In D151866#4386452 <https://reviews.llvm.org/D151866#4386452>, @nikic wrote:

> This is not how phis work. The `%a` in `phi(1, %a)` refers to the previous loop iteration.

oops. Thanks.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151866



More information about the llvm-commits mailing list