This is an archive of the discontinued LLVM Phabricator instance.

[MachinePipeliner] Support resource tracking with InstrSchedModel
ClosedPublic

Authored by jsji on May 20 2019, 2:51 PM.

Details

Summary

The current design of MachinePipeliner use DFA to do resource tracking in SMS,
but DFA only support InstrItins, and also has scaling limitation.

This patch extend SMS to allow Subtarget to use ProcResource in InstrSchedModel instead,
so that we can enable MachinePipeliner for PowerPC,
which will be posted for review in following patch.

Diff Detail

Event Timeline

jsji created this revision.May 20 2019, 2:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 20 2019, 2:51 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
bcahoon accepted this revision.May 24 2019, 11:23 AM

Looks good to me. Thanks for the contribution!

Brendon

This revision is now accepted and ready to land.May 24 2019, 11:23 AM
This revision was automatically updated to reflect the committed changes.