[llvm] [VPlan] Unroll VPReplicateRecipe by VF. (PR #142433)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 10 02:49:59 PDT 2025
================
@@ -261,6 +261,14 @@ Value *VPTransformState::get(const VPValue *Def, const VPLane &Lane) {
return Data.VPV2Scalars[Def][0];
}
+ // Look through BuildVector to avoid redundant extracts.
----------------
fhahn wrote:
Yep without the fold we would have additional insert/extracts for uses inside replicate regions, with corresponding test changes.
https://github.com/llvm/llvm-project/pull/142433
More information about the llvm-commits
mailing list