diff --git a/bolt/src/Passes/ReorderAlgorithm.cpp b/bolt/src/Passes/ReorderAlgorithm.cpp index 1ee35edab433..e4f73290c9c0 100644 --- a/bolt/src/Passes/ReorderAlgorithm.cpp +++ b/bolt/src/Passes/ReorderAlgorithm.cpp @@ -434,7 +434,7 @@ void TSPReorderAlgorithm::reorderBasicBlocks( std::vector> DP; DP.resize(1 << N); - for (std::vector &Elmt : DP) { + for (std::vector &Elmt : DP) { Elmt.resize(N, -1); } // Start with the entry basic block being allocated with cost zero