OSDN Git Service

[llvm-mca] Default the output asm dialect used by the instruction printer to the...
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Tue, 24 Apr 2018 16:19:08 +0000 (16:19 +0000)
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>
Tue, 24 Apr 2018 16:19:08 +0000 (16:19 +0000)
commit9830843b265c0b9cde94e1b01a26224331287992
treee44405ce8e4d384ca9161df06f9a0830c7770f70
parent6f8184d949f0793d04b132890fbf7f91ade34b06
[llvm-mca] Default the output asm dialect used by the instruction printer to the input asm dialect.

The instruction printer used by llvm-mca to generate the performance report now
defaults the output assembly format to the format used for the input assembly
file.

On x86, the asm format can be either AT&T or Intel, depending on the
presence/absence of directive `.intel_syntax`.

Users can still specify a different assembly dialect with the command line flag
-output-asm-variant=<uint>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330733 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-mca/X86/intel-syntax.s [new file with mode: 0644]
tools/llvm-mca/llvm-mca.cpp