[llvm] [SLP] Fix crash on trying to reshuffle a scalar that was vectorized. (PR #72295)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 4 06:53:38 PST 2024
================
@@ -9164,7 +9164,8 @@ BoUpSLP::tryToGatherSingleRegisterExtractElements(
continue;
}
auto *VecTy = dyn_cast<FixedVectorType>(EI->getVectorOperandType());
- if (!VecTy || !isa<ConstantInt, UndefValue>(EI->getIndexOperand()))
+ if (!VecTy || !isa<ConstantInt, UndefValue>(EI->getIndexOperand()) ||
----------------
alexey-bataev wrote:
79e62315be5b762f399e98c0b638e682eac66322
https://github.com/llvm/llvm-project/pull/72295
More information about the llvm-commits
mailing list