[llvm] [VPlan] Manage noalias/alias_scope metadata in VPlan. (NFC) (PR #136450)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Thu May 8 03:15:20 PDT 2025


================
@@ -2823,7 +2829,7 @@ void VPlanTransforms::narrowInterleaveGroups(VPlan &Plan, ElementCount VF,
     auto *S = new VPWidenStoreRecipe(
         *cast<StoreInst>(StoreGroup->getInterleaveGroup()->getInsertPos()),
         StoreGroup->getAddr(), Res, nullptr, /*Consecutive=*/true,
-        /*Reverse=*/false, StoreGroup->getDebugLoc());
+        /*Reverse=*/false, {}, StoreGroup->getDebugLoc());
----------------
fhahn wrote:

This load combines all scalar loads from the group into a single wide store; we would have to use the intersection of metadata on all stores. I updated forming the load as well and added a test showing the issue in 127f48668b719798770c36a20288ef5230669f42.

Also dropped NFC from the title

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


More information about the llvm-commits mailing list