[llvm] [VPlan] Manage instruction medata in VPlan. (PR #135272)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 20 11:48:45 PDT 2025
================
@@ -2755,7 +2758,7 @@ void VPlanTransforms::narrowInterleaveGroups(VPlan &Plan, ElementCount VF,
auto *L = new VPWidenLoadRecipe(
*cast<LoadInst>(LoadGroup->getInterleaveGroup()->getInsertPos()),
LoadGroup->getAddr(), LoadGroup->getMask(), /*Consecutive=*/true,
- /*Reverse=*/false, LoadGroup->getDebugLoc());
+ /*Reverse=*/false, {}, LoadGroup->getDebugLoc());
----------------
ayalz wrote:
The single widenLoad/StoreRecipe in this case drops the metadata of its insertPos/underlying load/store? Seems an exception worthy of a note, perhaps an explicit subsequent dropMetadata() call?
https://github.com/llvm/llvm-project/pull/135272
More information about the llvm-commits
mailing list