[llvm] 6d00734 - Clarify how llvm-mca detects att vs intel syntax.

Justin Lebar via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 19:35:32 PST 2020


Author: Justin Lebar
Date: 2020-02-06T19:35:09-08:00
New Revision: 6d007343decaeb8ea3db8de4bedf78b423bf116d

URL: https://github.com/llvm/llvm-project/commit/6d007343decaeb8ea3db8de4bedf78b423bf116d
DIFF: https://github.com/llvm/llvm-project/commit/6d007343decaeb8ea3db8de4bedf78b423bf116d.diff

LOG: Clarify how llvm-mca detects att vs intel syntax.

Reviewers: andreadb

Subscribers: tschuett, gbedwell, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72385

Added: 
    

Modified: 
    llvm/docs/CommandGuide/llvm-mca.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CommandGuide/llvm-mca.rst b/llvm/docs/CommandGuide/llvm-mca.rst
index efe29c4da4b5..703d39a31f6b 100644
--- a/llvm/docs/CommandGuide/llvm-mca.rst
+++ b/llvm/docs/CommandGuide/llvm-mca.rst
@@ -40,6 +40,10 @@ Or for Intel syntax:
 
   $ clang foo.c -O2 -target x86_64-unknown-unknown -mllvm -x86-asm-syntax=intel -S -o - | llvm-mca -mcpu=btver2
 
+(:program:`llvm-mca` detects Intel syntax by the presence of an `.intel_syntax`
+directive at the beginning of the input.  By default its output syntax matches
+that of its input.)
+
 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.


        


More information about the llvm-commits mailing list