[llvm] [LV][VPlan] Introduce VPScalarStore recipe to handle scalar stores in exit block. (PR #93148)

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 07:19:04 PDT 2024


================
@@ -2821,6 +2823,55 @@ class VPScalarIVStepsRecipe : public VPRecipeWithIRFlags {
   }
 };
 
+/// A recipe to represent scalar stores that sink outside the vector loop.
+class VPIntermediateStoreRecipe : public VPRecipeBase {
----------------
Mel-Chen wrote:

@nikolaypanchenko cec7e6dba287ce7e66f155c287d4ba6085e60db1 Sure, a shorter name will be less typos.
@fhahn I've thought about this before. However, I concern inheriting from `VPSingleDefRecipe` might cause potential issues since store does not define any VPValue. What do you think?

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


More information about the llvm-commits mailing list