[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 Jan 3 10:54:02 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:
Fixed in 7c963fde16d8ba340d6a6ed044b9c775f9bfab48
https://github.com/llvm/llvm-project/pull/72295
More information about the llvm-commits
mailing list