forked from OSchip/llvm-project
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:
parent
225f0d1ee2
commit
05d7fa79b6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue