Skip to content

Commit aca7167

Browse files
author
Whitney Tsang
committed
[NFC][LoopUnrollAndJam] clang-format.
I am currently working on this file.
1 parent b4c8608 commit aca7167

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -438,11 +438,11 @@ static bool tryToUnrollAndJamLoop(Function &F, DominatorTree &DT, LoopInfo &LI,
438438
int OptLevel) {
439439
bool DidSomething = false;
440440

441-
// The loop unroll and jam pass requires loops to be in simplified form, and also needs LCSSA.
442-
// Since simplification may add new inner loops, it has to run before the
443-
// legality and profitability checks. This means running the loop unroll and jam pass
444-
// will simplify all loops, regardless of whether anything end up being
445-
// unroll and jammed.
441+
// The loop unroll and jam pass requires loops to be in simplified form, and
442+
// also needs LCSSA. Since simplification may add new inner loops, it has to
443+
// run before the legality and profitability checks. This means running the
444+
// loop unroll and jam pass will simplify all loops, regardless of whether
445+
// anything end up being unroll and jammed.
446446
for (auto &L : LI) {
447447
DidSomething |=
448448
simplifyLoop(L, &DT, &LI, &SE, &AC, nullptr, false /* PreserveLCSSA */);

0 commit comments

Comments
 (0)