[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
Wed Nov 15 11:05:32 PST 2023
================
@@ -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:
Fixed in 8ea8dd9a017182d167f39f521ef397afba5a0fd5
https://github.com/llvm/llvm-project/pull/72295
More information about the llvm-commits
mailing list