This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC][MachinePipeliner] Enable pipeliner if hasInstrSchedModel
ClosedPublic

Authored by jsji on Jul 10 2020, 2:21 PM.

Details

Summary

P9 is the only one with InstrSchedModel, but we may have more in the
future, we should not hardcoded it to P9, check hasInstrSchedModel
instead.

Diff Detail

Event Timeline

jsji created this revision.Jul 10 2020, 2:21 PM
hfinkel accepted this revision as: hfinkel.Jul 10 2020, 6:24 PM

LGTM

This revision is now accepted and ready to land.Jul 10 2020, 6:24 PM
This revision was automatically updated to reflect the committed changes.