summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-04-03 16:46:23 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-04-03 16:46:23 +0000
commit8dabf4f145de4135b4c4af89f9017830bbba0dea (patch)
tree9b3d7d1db12a0fefb70046fd306dc4cb5d51179e /llvm/docs
parentdf989c54cfeb5827619904f5e71511b7d48d157f (diff)
downloadbcm5719-llvm-8dabf4f145de4135b4c4af89f9017830bbba0dea.tar.gz
bcm5719-llvm-8dabf4f145de4135b4c4af89f9017830bbba0dea.zip
[llvm-mca] Move the logic that prints register file statistics to its own view. NFCI
Before this patch, the "BackendStatistics" view was responsible for printing the register file usage (as well as many other statistics). Now users can enable register file usage statistics using the command line flag `-register-file-stats`. By default, the tool doesn't print register file statistics. llvm-svn: 329083
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CommandGuide/llvm-mca.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-mca.rst b/llvm/docs/CommandGuide/llvm-mca.rst
index 97a27f043c6..bcb03bdc58e 100644
--- a/llvm/docs/CommandGuide/llvm-mca.rst
+++ b/llvm/docs/CommandGuide/llvm-mca.rst
@@ -128,6 +128,10 @@ option specifies "``-``", then the output will also be sent to standard output.
Enable the resource pressure view. This is enabled by default.
+.. option:: -register-file-stats
+
+ Enable register file usage statistics.
+
.. option:: -instruction-info
Enable the instruction info view. This is enabled by default.
OpenPOWER on IntegriCloud