[llvm] [SLP][REVEC] Initial commits. (PR #98269)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 11:09:45 PDT 2024
================
@@ -11807,10 +11824,10 @@ class BoUpSLP::ShuffleInstructionBuilder final : public BaseShuffleAnalysis {
Value *castToScalarTyElem(Value *V,
std::optional<bool> IsSigned = std::nullopt) {
auto *VecTy = cast<VectorType>(V->getType());
- if (VecTy->getElementType() == ScalarTy)
+ if (VecTy->getElementType() == ScalarTy->getScalarType())
----------------
alexey-bataev wrote:
Then you need to handle it here or add the assertion that the number of elements expected to be the same only
https://github.com/llvm/llvm-project/pull/98269
More information about the llvm-commits
mailing list