projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
951cfb6
)
Fix up comment from r280442, noticed by Justin.
author
Adam Nemet
<anemet@apple.com>
Fri, 2 Sep 2016 17:20:32 +0000
(17:20 +0000)
committer
Adam Nemet
<anemet@apple.com>
Fri, 2 Sep 2016 17:20:32 +0000
(17:20 +0000)
llvm-svn: 280508
llvm/include/llvm/Analysis/CFGPrinter.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Analysis/CFGPrinter.h
b/llvm/include/llvm/Analysis/CFGPrinter.h
index
f73a13f
..
ea29cbf
100644
(file)
--- a/
llvm/include/llvm/Analysis/CFGPrinter.h
+++ b/
llvm/include/llvm/Analysis/CFGPrinter.h
@@
-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();
}