[llvm] [VPlan] Split VPWidenMemoryInstructionRecipe (NFCI). (PR #87411)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 14 08:12:00 PDT 2024
================
@@ -9535,7 +9464,68 @@ 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) {
+ auto *SI = cast<StoreInst>(&Ingredient);
+
+ VPValue *StoredValue = getStoredValue();
----------------
ayalz wrote:
```suggestion
VPValue *StoredVPValue = getStoredValue();
```
nit: clarify the distinction between Stored Value and Stored VPValue, as in Mask and VPMask.
https://github.com/llvm/llvm-project/pull/87411
More information about the llvm-commits
mailing list