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 d9cd54a commit 82158d6Copy full SHA for 82158d6
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
@@ -11352,6 +11352,7 @@ BoUpSLP::ScalarsVectorizationLegality BoUpSLP::getScalarsVectorizationLegality(
11352
assert(It != VL.end() && "Expected at least one GEP.");
11353
S = getSameOpcode(*It, *TLI);
11354
}
11355
+ assert(S && "Must be valid.");
11356
11357
// Don't handle vectors.
11358
if (!SLPReVec && getValueType(VL.front())->isVectorTy()) {
0 commit comments