[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

Florian Hahn via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 23 02:05:20 PDT 2025


================
@@ -479,7 +479,11 @@ class LoopVectorizationPlanner {
   /// Build VPlans for the specified \p UserVF and \p UserIC if they are
   /// non-zero or all applicable candidate VFs otherwise. If vectorization and
   /// interleaving should be avoided up-front, no plans are generated.
-  void plan(ElementCount UserVF, unsigned UserIC);
+  /// DiffChecks is a list of pointer pairs that should be checked for aliasing,
----------------
fhahn wrote:

Memory accesses will be lowered to masked VPWidenLoad/StoreRecipe, so should hopefully be easy to find in the plan

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


More information about the llvm-branch-commits mailing list