Format comment properly

While clang-format takes care that the line-length is not surpassed, the
resulting comments sometimes look not optimal. We re-flow the text in the
comment to avoid these ugly single-word lines.

llvm-svn: 250626
This commit is contained in:
Tobias Grosser 2015-10-17 21:46:28 +00:00
parent 225f0d1ee2
commit 05d7fa79b6
1 changed files with 6 additions and 10 deletions

View File

@ -3272,18 +3272,14 @@ bool ScopInfo::buildScalarDependences(Instruction *Inst, Region *R,
continue; continue;
// Check for PHI nodes in the region exit and skip them, if they will be // Check for PHI nodes in the region exit and skip them, if they will be
// modeled // modeled as PHI nodes.
// as PHI nodes.
// //
// PHI nodes in the region exit that have more than two incoming edges need // PHI nodes in the region exit that have more than two incoming edges need
// to // to be modeled as PHI-Nodes to correctly model the fact that depending on
// be modeled as PHI-Nodes to correctly model the fact that depending on the // the control flow a different value will be assigned to the PHI node. In
// control flow a different value will be assigned to the PHI node. In case // case this is the case, there is no need to create an additional normal
// this // scalar dependence. Hence, bail out before we register an "out-of-region"
// is the case, there is no need to create an additional normal scalar // use for this definition.
// dependence.
// Hence bail out, before we register an "out-of-region" use for this
// definition.
if (isa<PHINode>(UI) && UI->getParent() == R->getExit() && if (isa<PHINode>(UI) && UI->getParent() == R->getExit() &&
!R->getExitingBlock()) !R->getExitingBlock())
continue; continue;