diff options
author | Quentin Colombet <qcolombet@apple.com> | 2013-10-02 22:07:57 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2013-10-02 22:07:57 +0000 |
commit | 797f06e19b6f17217a69dea4d6ce900625432595 (patch) | |
tree | 3dc66bee70b78d434a028c2e8a7d7206f465916a /LLVMBuild.txt | |
parent | 18b222a87264145979de8216e7243b0ac8921c9d (diff) | |
download | external_llvm-797f06e19b6f17217a69dea4d6ce900625432595.zip external_llvm-797f06e19b6f17217a69dea4d6ce900625432595.tar.gz external_llvm-797f06e19b6f17217a69dea4d6ce900625432595.tar.bz2 |
[llvm-c][Disassembler] Add an option to print latency information in
disassembled output alongside the instructions.
E.g., on a vector shuffle operation with a memory operand, disassembled
outputs are:
* Without the option:
vpshufd $-0x79, (%rsp), %xmm0
* With the option:
vpshufd $-0x79, (%rsp), %xmm0 ## Latency: 5
The printed latency is extracted from the schedule model available in the
disassembler context. Thus, this option has no effect if there is not a
scheduling model for the target.
This boils down to one may need to specify the CPU string, so that this
option could have an effect.
Note: Latency < 2 are not printed.
This part of <rdar://problem/14687488>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'LLVMBuild.txt')
0 files changed, 0 insertions, 0 deletions