[llvm] r191859 - [llvm-c][Disassembler] Add an option to print latency information in
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits