[llvm] [LV] Support EVL for partial reduction and VPExpressionRecipe. (PR #205741)
Elvis Wang via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 23 20:08:34 PDT 2026
================
@@ -3559,18 +3580,21 @@ VPExpressionRecipe::VPExpressionRecipe(
R->replaceUsesOfWith(LiveIn, Tmp);
}
-void VPExpressionRecipe::decompose() {
- for (auto *R : ExpressionRecipes)
+SmallVector<VPSingleDefRecipe *> VPExpressionRecipe::decompose() {
+ for (auto *R : ExpressionRecipes) {
// Since the list could contain duplicates, make sure the recipe hasn't
// already been inserted.
if (!R->getParent())
R->insertBefore(this);
+ }
----------------
ElvisWang123 wrote:
Dropped, thanks!
https://github.com/llvm/llvm-project/pull/205741
More information about the llvm-commits
mailing list