[polly] r250626 - Format comment properly

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 17 14:46:29 PDT 2015


Author: grosser
Date: Sat Oct 17 16:46:28 2015
New Revision: 250626

URL: http://llvm.org/viewvc/llvm-project?rev=250626&view=rev
Log:
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.

Modified:
    polly/trunk/lib/Analysis/ScopInfo.cpp

Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=250626&r1=250625&r2=250626&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Sat Oct 17 16:46:28 2015
@@ -3272,18 +3272,14 @@ bool ScopInfo::buildScalarDependences(In
       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;




More information about the llvm-commits mailing list