[NFC][LoopUnrollAndJam] clang-format.

I am currently working on this file.
This commit is contained in:
Whitney Tsang 2020-03-14 00:04:10 +00:00
parent b4c8608eba
commit aca7167535
1 changed files with 5 additions and 5 deletions

View File

@ -438,11 +438,11 @@ static bool tryToUnrollAndJamLoop(Function &F, DominatorTree &DT, LoopInfo &LI,
int OptLevel) {
bool DidSomething = false;
// The loop unroll and jam pass requires loops to be in simplified form, and also needs LCSSA.
// Since simplification may add new inner loops, it has to run before the
// legality and profitability checks. This means running the loop unroll and jam pass
// will simplify all loops, regardless of whether anything end up being
// unroll and jammed.
// The loop unroll and jam pass requires loops to be in simplified form, and
// also needs LCSSA. Since simplification may add new inner loops, it has to
// run before the legality and profitability checks. This means running the
// loop unroll and jam pass will simplify all loops, regardless of whether
// anything end up being unroll and jammed.
for (auto &L : LI) {
DidSomething |=
simplifyLoop(L, &DT, &LI, &SE, &AC, nullptr, false /* PreserveLCSSA */);