[llvm] [LV] Allow VPWidenPHI in non-native path and copy DebugLoc (PR #118662)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 4 08:19:54 PST 2024


================
@@ -511,7 +511,7 @@ class InnerLoopVectorizer {
                             VPTransformState &State);
 
   /// Fix the non-induction PHIs in \p Plan.
-  void fixNonInductionPHIs(VPTransformState &State);
+  void fixWidenedPHIs(VPTransformState &State);
----------------
lukel97 wrote:

I forgot to mention, I renamed this bit due to the plan to use it for induction phis in #118638, happy to take it out if preferred!

https://github.com/llvm/llvm-project/pull/118662


More information about the llvm-commits mailing list