[llvm] [SLP]Initial non-power-of-2 (but still whole register) for remaining nodes (PR #113356)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 8 09:05:49 PST 2025
================
@@ -5142,17 +5145,21 @@ BoUpSLP::canVectorizeLoads(ArrayRef<Value *> VL, const Value *VL0,
return MaskedGatherCost - GatherCost >= -SLPCostThreshold;
// FIXME: The following code has not been updated for non-power-of-2
- // vectors. The splitting logic here does not cover the original
- // vector if the vector factor is not a power of two. FIXME
- if (!has_single_bit(VL.size()))
+ // vectors (and not whole registers). The splitting logic here does not
+ // cover the original vector if the vector factor is not a power of two.
+ // FIXME
----------------
alexey-bataev wrote:
Must be deleted
https://github.com/llvm/llvm-project/pull/113356
More information about the llvm-commits
mailing list