[llvm-mca] Add an example showing how to get Intel assembly syntax

Patch by Jeff Muizelaar.

llvm-svn: 332627
This commit is contained in:
Andrea Di Biagio 2018-05-17 16:48:53 +00:00
parent 2782a19fad
commit d8d940a872
1 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,12 @@ directly into llvm-mca for analysis:
$ clang foo.c -O2 -target x86_64-unknown-unknown -S -o - | llvm-mca -mcpu=btver2
Or for Intel syntax:
... code-block:: bash
$ clang foo.c -O2 -target x86_64-unknown-unknown -mllvm -x86-asm-syntax=intel -S -o - | llvm-mca -mcpu=btver2
OPTIONS
-------