[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
Wed Jul 31 01:39:40 PDT 2024


================
@@ -2963,6 +2965,54 @@ class VPScalarIVStepsRecipe : public VPRecipeWithIRFlags {
   }
 };
 
+/// A recipe to represent scalar stores that sink outside the vector loop.
+class VPScalarStoreRecipe : public VPRecipeBase {
+  StoreInst &SI;
----------------
Mel-Chen wrote:

818c8e3bb7420571d4dd2f3fbdfc2ecc1e1eee31
Done, but I can't imagine how it could be used so far. That would be great If you're willing to share your plan.

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


More information about the llvm-commits mailing list