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