[llvm] [SLP][REVEC] Fix cost model for getBuildVectorCost with FixedVectorType ScalarTy. (PR #110073)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 10:40:18 PDT 2024
================
@@ -9198,10 +9198,18 @@ class BoUpSLP::ShuffleCostEstimator : public BaseShuffleAnalysis {
bool NeedShuffle =
count(VL, *It) > 1 &&
(VL.front() != *It || !all_of(VL.drop_front(), IsaPred<UndefValue>));
- if (!NeedShuffle)
+ if (!NeedShuffle) {
----------------
alexey-bataev wrote:
A test is required
https://github.com/llvm/llvm-project/pull/110073
More information about the llvm-commits
mailing list