We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38ca5ce commit 78a00ddCopy full SHA for 78a00dd
llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
@@ -3771,8 +3771,6 @@ Instruction *InstCombinerImpl::visitCallInst(CallInst &CI) {
3771
// %2 = mul i32 %0, 4
3772
if (Value *Splat = getSplatValue(Arg)) {
3773
// It is only a multiplication if we add the same element over and over.
3774
- assert(Arg->getType()->isVectorTy() &&
3775
- "The vector.reduce.add intrinsic's argument must be a vector!");
3776
ElementCount ReducedVectorElementCount =
3777
cast<VectorType>(Arg->getType())->getElementCount();
3778
if (ReducedVectorElementCount.isFixed()) {
0 commit comments