[llvm] [SLP]Do not consider non-profitable loads slices (PR #149209)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 17 01:26:38 PDT 2025
================
@@ -11772,6 +11776,8 @@ void BoUpSLP::transformNodes() {
}
Slices.emplace_back(Cnt, Slice.size());
}
+ if (VF == 2 && AllStrided && Slices.size() > 2)
----------------
RKSimon wrote:
Add a brief comment explaining the reasoning
https://github.com/llvm/llvm-project/pull/149209
More information about the llvm-commits
mailing list