Fix up comment from r280442, noticed by Justin.
authorAdam Nemet <anemet@apple.com>
Fri, 2 Sep 2016 17:20:32 +0000 (17:20 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 2 Sep 2016 17:20:32 +0000 (17:20 +0000)
llvm-svn: 280508

llvm/include/llvm/Analysis/CFGPrinter.h

index f73a13f..ea29cbf 100644 (file)
@@ -142,9 +142,8 @@ struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
     if (!Weight)
       return "";
 
-    // Append a 'W' to indicate that these are weights rather than actual
-    // profile
-    // count (due to scaling).
+    // Prepend a 'W' to indicate that this is a weight rather than the actual
+    // profile count (due to scaling).
     Twine Attrs = "label=\"W:" + Twine(Weight->getZExtValue()) + "\"";
     return Attrs.str();
   }