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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 23:01:23 PDT 2026


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

after this, I think the recipe must be removed, because any access now will access invalid data?

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


More information about the llvm-commits mailing list