[llvm-c][Disassembler] When printing latency information, fall back to the
authorQuentin Colombet <qcolombet@apple.com>
Thu, 3 Oct 2013 17:51:49 +0000 (17:51 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Thu, 3 Oct 2013 17:51:49 +0000 (17:51 +0000)
commit4b3685de23b4a1b3199a06e4bb2ccd1e316396c3
tree9759d8e995201944d11e1bbe9290c7e4256d185c
parent45fae28db7ccc4f9d40f4b4d3fb35676826dfdc0
[llvm-c][Disassembler] When printing latency information, fall back to the
itinerary model in case the target does not supply a scheduling model.

By doing this, targets like cortex-a8 can benefit from the latency printing
feature added in r191859.

This part of <rdar://problem/14687488>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191916 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCDisassembler/Disassembler.cpp
lib/MC/MCDisassembler/Disassembler.h