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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 00:52:56 PDT 2024


================
@@ -1927,6 +1921,29 @@ void VPScalarCastRecipe ::print(raw_ostream &O, const Twine &Indent,
 }
 #endif
 
+void VPScalarStoreRecipe::execute(VPTransformState &State) {
+  [[maybe_unused]] bool IsAllOperandsUniformAfterVectorization =
----------------
fhahn wrote:

assert that both the operand and the recipe itself are defined outside the vector loop region, otherwise we might get unexpected results?

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


More information about the llvm-commits mailing list