[PATCH] D49347: [WIP][DebugInfo][LV] DebugLoc in induction PHI

Anastasis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 19 11:31:16 PDT 2018


gramanas added a comment.

> Can there be multiple induction phis in the original loop's header? If so, why is picking the location from the first phi correct?

I am not sure. I don't think there can be many induction phis in a loop that hasn't been vectorized yet.
While creating the vectorized loop skeleton, `createInductuonVariable()` is called once, so I thought the first phi
found will probably be the only one as well.


Repository:
  rL LLVM

https://reviews.llvm.org/D49347





More information about the llvm-commits mailing list