[llvm] [LV] Support EVL for partial reduction and VPExpressionRecipe. (PR #205741)

Elvis Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 18:56:27 PDT 2026


================
@@ -3541,7 +3565,7 @@ void VPExpressionRecipe::decompose() {
     LiveInPlaceholders[Idx]->replaceAllUsesWith(Op);
 
   replaceAllUsesWith(ExpressionRecipes.back());
-  ExpressionRecipes.clear();
+  return std::move(ExpressionRecipes);
----------------
ElvisWang123 wrote:

Yes. Both caller of this function will remove the expression recipe after decompose.

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


More information about the llvm-commits mailing list