[llvm] [VPlan] Add initial loop-invariant code motion transform. (PR #107894)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 11:10:42 PDT 2024


================
@@ -7294,7 +7295,7 @@ static bool planContainsAdditionalSimplifications(VPlan &Plan,
   };
 
   DenseSet<Instruction *> SeenInstrs;
-  auto Iter = vp_depth_first_deep(Plan.getEntry());
+  auto Iter = vp_depth_first_deep(Plan.getVectorLoopRegion()->getEntry());
----------------
artagnon wrote:

Seems like an unrelated change?

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


More information about the llvm-commits mailing list