[llvm-bugs] [Bug 36673] New: [llvm-mca][MC] Expose methods `computeInstrRThroughput` and `computeInstrLatency` to MCSchedModel.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 9 08:27:37 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36673

            Bug ID: 36673
           Summary: [llvm-mca][MC] Expose methods
                    `computeInstrRThroughput` and `computeInstrLatency` to
                    MCSchedModel.
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: andrea.dibiagio at gmail.com
                CC: llvm-bugs at lists.llvm.org

Currently, both methods are accessible from the TargetSchedModel interface.

It would be nice to have those methods accessible from MCSchedModel, so that
llvm-mca can use them to compute the "max latency" and the reciprocal
throughput.

Currently, llvm-mca uses its own logic to compute latency and throughput. We
could get rid of that logic and simplify the code if only those two methods
were accessible. In llvm-mca, it would allow to fully decouple the SummaryView
logic from the Backend.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180309/b31e0e35/attachment-0001.html>


More information about the llvm-bugs mailing list