Skip to content

Commit 5eace3e

Browse files
committed
Apply feedback
1 parent 92e4007 commit 5eace3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/ExprConstant.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12279,7 +12279,7 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr *E) {
1227912279

1228012280
APInt MinIndex(ElemBitWidth, 0);
1228112281
APInt MinVal = Source.getVectorElt(0).getInt();
12282-
for (unsigned I = 0; I != SourceLen; ++I) {
12282+
for (unsigned I = 1; I != SourceLen; ++I) {
1228312283
APInt Val = Source.getVectorElt(I).getInt();
1228412284
if (MinVal.ugt(Val)) {
1228512285
MinVal = Val;

0 commit comments

Comments
 (0)