[llvm] [VPlan] Split VPWidenMemoryInstructionRecipe (NFCI). (PR #87411)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 12 14:35:18 PDT 2024


================
@@ -875,7 +875,8 @@ class VPSingleDefRecipe : public VPRecipeBase, public VPValue {
       return true;
     case VPRecipeBase::VPInterleaveSC:
     case VPRecipeBase::VPBranchOnMaskSC:
-    case VPRecipeBase::VPWidenMemoryInstructionSC:
+    case VPRecipeBase::VPWidenLoadSC:
+    case VPRecipeBase::VPWidenStoreSC:
----------------
fhahn wrote:

Yes, unfortunately it will require some extra work, as at the moment both `VPWidenMemoryRecipe` and `VPSingleDefRecipe` inherits from `VPRecipeBase`, both so they can manage operands.

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


More information about the llvm-commits mailing list