[all-commits] [llvm/llvm-project] 0d78fb: [VPlan] Make simplifyRecipe more like InstCombine
Luke Lau via All-commits
all-commits at lists.llvm.org
Thu Jul 30 02:19:33 PDT 2026
Branch: refs/heads/users/lukel97/loop-vectorize/simplify-recipe-return-value
Home: https://github.com/llvm/llvm-project
Commit: 0d78fb5d33d5447fa0a7d4c69ae1ca3464322237
https://github.com/llvm/llvm-project/commit/0d78fb5d33d5447fa0a7d4c69ae1ca3464322237
Author: Luke Lau <luke at igalia.com>
Date: 2026-07-30 (Thu, 30 Jul 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/test/Transforms/LoopVectorize/VPlan/constant-fold.ll
M llvm/test/Transforms/LoopVectorize/epilog-vectorization-reductions.ll
Log Message:
-----------
[VPlan] Make simplifyRecipe more like InstCombine
Most combines in simplifyRecipe RAUW a value, but not all of them erase the old recipe.
Unify them and bring it in line with InstCombine by having it return a VPValue, which simplifyRecipes can then call RAUW with, and automatically erase the old recipe.
Similarly to InstCombine, combines that modify a recipe should return the same recipe.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list