3 Commits

Author SHA1 Message Date
Dmitri Gribenko
5e361b8008 Include what you use in PPCMachineScheduler.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362476 91177308-0d34-0410-b5e6-96231b3b80d8
2019-06-04 09:16:31 +00:00
QingShan Zhang
f6b47d2a4f [Power9] Add a specific heuristic to schedule the addi before the load
When we are scheduling the load and addi, if all other heuristic didn't take effect,
 we will try to schedule the addi before the load, to hide the latency, and avoid the
 true dependency added by RA. And this only take effects for Power9.

Differential Revision: https://reviews.llvm.org/D61930



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361600 91177308-0d34-0410-b5e6-96231b3b80d8
2019-05-24 05:30:09 +00:00
QingShan Zhang
d1b34e99f6 [NFC][PowerPC] Custom PowerPC specific machine-scheduler
This patch lays the groundwork for extending the generic machine scheduler by providing a PPC-specific implementation.
There are no functional changes as this is an incremental patch that simply provides the necessary overrides which just
encapsulate the behavior of the generic scheduler. Subsequent patches will add specific behavior.

Differential Revision: https://reviews.llvm.org/D59284


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357047 91177308-0d34-0410-b5e6-96231b3b80d8
2019-03-27 03:50:16 +00:00