Clarify how llvm-mca detects att vs intel syntax.
authorJustin Lebar <jlebar@google.com>
Wed, 8 Jan 2020 05:16:36 +0000 (21:16 -0800)
committerJustin Lebar <jlebar@google.com>
Fri, 7 Feb 2020 03:35:09 +0000 (19:35 -0800)
Reviewers: andreadb

Subscribers: tschuett, gbedwell, llvm-commits

Tags: #llvm

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

llvm/docs/CommandGuide/llvm-mca.rst

index efe29c4..703d39a 100644 (file)
@@ -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.