[llvm] [NFC][VPlan] Split `makeMemOpWideningDecisions` into subpasses (PR #182593)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun May 10 14:11:28 PDT 2026
================
@@ -546,6 +546,16 @@ struct VPlanTransforms {
static void makeScalarizationDecisions(VPlan &Plan, VFRange &Range);
};
+/// A helper function that returns true if the given type is irregular. The
+/// type is irregular if its allocated size doesn't equal the store size of an
+/// element of the corresponding vector type.
+inline bool hasIrregularType(Type *Ty, const DataLayout &DL) {
----------------
fhahn wrote:
VPlanTransforms.h doesn't seem like the best place to palce this. Not sure what a better place would be, maybe LoopVectorizationplanner.h?
https://github.com/llvm/llvm-project/pull/182593
More information about the llvm-commits
mailing list