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 1bab9d1 commit 09b51baCopy full SHA for 09b51ba
clang/lib/AST/ExprConstant.cpp
@@ -11959,10 +11959,6 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr *E) {
11959
!EvaluateAsRValue(Info, E->getArg(2), SourceC))
11960
return false;
11961
11962
- assert(SourceF.getKind() == clang::APValue::Vector);
11963
- assert(SourceT.getKind() == clang::APValue::Vector);
11964
- assert(SourceC.getKind() == clang::APValue::Int);
11965
-
11966
const APInt &C = SourceC.getInt();
11967
unsigned SourceLen = SourceF.getVectorLength();
11968
SmallVector<APValue, 32> ResultElements;
0 commit comments