[MC] Move the reciprocal throughput computation from TargetSchedModel to MCSchedModel.
ClosedPublic

Authored by andreadb on Mar 12 2018, 9:23 AM.

Details

Summary

This patch moves the logic that computes the reciprocal throughput into MCSchedModel from TargetSchedModel.
No functional change intended.

The goal is to make the reciprocal throughput information accessible through the MCSchedModel interface.
This is particularly important for llvm-mca, which internally manipulates a MCSchedModel.

This patch, plus D44383 fully fix PR36676.

Diff Detail

Repository
rL LLVM
andreadb created this revision.Mar 12 2018, 9:23 AM
RKSimon accepted this revision.Mar 13 2018, 7:11 AM

LGTM - thanks

This revision is now accepted and ready to land.Mar 13 2018, 7:11 AM
This revision was automatically updated to reflect the committed changes.