[llvm-mca][docs] clarify how the quality of the perf report is affected by the qualit...
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Wed, 19 Jun 2019 16:10:58 +0000 (16:10 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Wed, 19 Jun 2019 16:10:58 +0000 (16:10 +0000)
Differential Revision: https://reviews.llvm.org/D63556

llvm-svn: 363830

llvm/docs/CommandGuide/llvm-mca.rst

index d8c3b57..847a043 100644 (file)
@@ -38,6 +38,17 @@ Or for Intel syntax:
 
   $ clang foo.c -O2 -target x86_64-unknown-unknown -mllvm -x86-asm-syntax=intel -S -o - | llvm-mca -mcpu=btver2
 
+Scheduling models are not just used to compute instruction latencies and
+throughput, but also to understand what processor resources are available
+and how to simulate them.
+
+By design, the quality of the analysis conducted by :program:`llvm-mca` is
+inevitably affected by the quality of the scheduling models in LLVM.
+
+If you see that the performance report is not accurate for a processor,
+please `file a bug <https://bugs.llvm.org/enter_bug.cgi?product=libraries>`_
+against the appropriate backend.
+
 OPTIONS
 -------