diff --git a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp index da8e0d8cc09a8..d3b17201b8706 100644 --- a/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp +++ b/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp @@ -2222,7 +2222,7 @@ class BoUpSLP { MapVector> HashMap; // Try to be closer to the original results, if we have multiple lanes // with same cost. If 2 lanes have the same cost, use the one with the - // lowest index. + // highest index. for (int I = getNumLanes(); I > 0; --I) { unsigned Lane = I - 1; OperandsOrderData NumFreeOpsHash =