[llvm] [SLP]Initial support for non-power-of-2 (but still whole register) number of elements in operands. (PR #107273)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 16 12:12:11 PDT 2024
================
@@ -5200,7 +5234,7 @@ BoUpSLP::getReorderingData(const TreeEntry &TE, bool TopToBottom) {
// node.
if (!TE.ReuseShuffleIndices.empty()) {
// FIXME: Support ReuseShuffleIndices for non-power-of-two vectors.
- assert(!TE.isNonPowOf2Vec() &&
+ assert(!TE.hasNonWholeRegisterElems(*TTI) &&
----------------
alexey-bataev wrote:
Again, the test checks this
https://github.com/llvm/llvm-project/pull/107273
More information about the llvm-commits
mailing list