[llvm] [VPlan] Split VPWidenMemoryInstructionRecipe (NFCI). (PR #87411)
    Florian Hahn via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Apr  5 11:38:49 PDT 2024
    
    
  
================
@@ -9590,7 +9532,75 @@ void VPWidenMemoryInstructionRecipe::execute(VPTransformState &State) {
         NewLI = Builder.CreateVectorReverse(NewLI, "reverse");
     }
 
-    State.set(getVPSingleValue(), NewLI, Part);
+    State.set(this, NewLI, Part);
+  }
+}
+
+void VPWidenStoreRecipe::execute(VPTransformState &State) {
+  VPValue *StoredValue = getStoredValue();
+
+  const Align Alignment = getLoadStoreAlignment(&Ingredient);
+  bool CreateScatter = !isConsecutive();
----------------
fhahn wrote:
Kept as is for now, as `CreateScatter` seems slightly more descriptive w.r.t. how it is used
https://github.com/llvm/llvm-project/pull/87411
    
    
More information about the llvm-commits
mailing list