[llvm] r280508 - Fix up comment from r280442, noticed by Justin.
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 2 10:20:32 PDT 2016
Author: anemet
Date: Fri Sep 2 12:20:32 2016
New Revision: 280508
URL: http://llvm.org/viewvc/llvm-project?rev=280508&view=rev
Log:
Fix up comment from r280442, noticed by Justin.
Modified:
llvm/trunk/include/llvm/Analysis/CFGPrinter.h
Modified: llvm/trunk/include/llvm/Analysis/CFGPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/CFGPrinter.h?rev=280508&r1=280507&r2=280508&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/CFGPrinter.h (original)
+++ llvm/trunk/include/llvm/Analysis/CFGPrinter.h Fri Sep 2 12:20:32 2016
@@ -142,9 +142,8 @@ struct DOTGraphTraits<const Function*> :
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();
}
More information about the llvm-commits
mailing list