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 8a6f44d commit d06d039Copy full SHA for d06d039
lib/Driver/Compilation.cpp
@@ -1366,10 +1366,6 @@ namespace driver {
1366
// be compiled in 2 batches. Integer division yields 26/25 = 1 batch, but
1367
// a single batch of 26 exceeds the limit. The calculation must round up,
1368
// which can be calculated using: `(x + y - 1) / y`
1369
- //
1370
- // Two key properties of this calculation are:
1371
- // DivideUp(M*N, N) = M
1372
- // DivideUp(M*N + 1, N) = M + 1
1373
auto DivideUp = [](size_t Num, size_t Div) -> size_t {
1374
return (Num + Div - 1) / Div;
1375
};
0 commit comments