[llvm] [VPlan] Retrieve alignment from Load/StoreInst in constructors. nfc (PR #165722)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 30 08:14:20 PDT 2025
================
@@ -3265,18 +3265,18 @@ class LLVM_ABI_FOR_TEST VPWidenMemoryRecipe : public VPRecipeBase,
struct LLVM_ABI_FOR_TEST VPWidenLoadRecipe final : public VPWidenMemoryRecipe,
public VPValue {
VPWidenLoadRecipe(LoadInst &Load, VPValue *Addr, VPValue *Mask,
- bool Consecutive, bool Reverse, Align Alignment,
+ bool Consecutive, bool Reverse,
const VPIRMetadata &Metadata, DebugLoc DL)
: VPWidenMemoryRecipe(VPDef::VPWidenLoadSC, Load, {Addr}, Consecutive,
----------------
ayalz wrote:
Can also have the constructor of VPWidenMemoryRecipe retrieve the alignment from the `Load` ingredient here via getLoadStoreAlignment(), and from the `Store` ingredient below.
https://github.com/llvm/llvm-project/pull/165722
More information about the llvm-commits
mailing list