[llvm] r191859 - [llvm-c][Disassembler] Add an option to print latency information in

Andrew Trick atrick at apple.com
Wed Oct 2 16:34:23 PDT 2013


On Oct 2, 2013, at 3:21 PM, Hal Finkel <hfinkel at anl.gov> wrote:

> What would be really quite useful is if we had the scheduler tag the MIs with their expected dispatch latency (meaning number of stall cycles for an in-order core), and printed that in the assembly output.

It would be nice. There are two approaches.

- Implement a pipeline model outside of CodeGen. That’s good for stand alone tools, along the lines of Quentin’s work.

- Implement something like Daniel Malea’s debugIR at MI level so the scheduler (and other passes) can dump a bunch of diagnostics tied to dwarf line numbers.

-Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131002/94158ddb/attachment.html>


More information about the llvm-commits mailing list