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;
|
||||
|
||||
// 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;
|
||||
|
|
Loading…
Reference in New Issue