[PATCH] D72385: Clarify how llvm-mca detects att vs intel syntax.

Justin Lebar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 21:29:26 PST 2020


jlebar created this revision.
Herald added subscribers: llvm-commits, gbedwell, tschuett.
Herald added a reviewer: andreadb.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72385

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


Index: llvm/docs/CommandGuide/llvm-mca.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-mca.rst
+++ llvm/docs/CommandGuide/llvm-mca.rst
@@ -40,6 +40,10 @@
 
   $ 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72385.236759.patch
Type: text/x-patch
Size: 687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200108/0656bed9/attachment.bin>


More information about the llvm-commits mailing list