diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2018-04-08 19:56:04 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2018-04-08 19:56:04 +0000 |
| commit | 0d7df36c668d54e95143f5a330997f32aaa0dd97 (patch) | |
| tree | 027ffa8ba4164265d74890175bed2bccfaff9135 /llvm/lib/Target/SystemZ | |
| parent | b7baa358f632324f593deeba3daa3268795bd258 (diff) | |
| download | bcm5719-llvm-0d7df36c668d54e95143f5a330997f32aaa0dd97.tar.gz bcm5719-llvm-0d7df36c668d54e95143f5a330997f32aaa0dd97.zip | |
[TargetSchedule] shrink interface for init(); NFCI
The TargetSchedModel is always initialized using the TargetSubtargetInfo's
MCSchedModel and TargetInstrInfo, so we don't need to extract those and
pass 3 parameters to init().
Differential Revision: https://reviews.llvm.org/D44789
llvm-svn: 329540
Diffstat (limited to 'llvm/lib/Target/SystemZ')
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp b/llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp index cee9d8cf5f9..51e8beb085a 100644 --- a/llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp +++ b/llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp @@ -133,7 +133,7 @@ SystemZPostRASchedStrategy(const MachineSchedContext *C) (C->MF->getSubtarget().getInstrInfo())), MBB(nullptr), HazardRec(nullptr) { const TargetSubtargetInfo *ST = &C->MF->getSubtarget(); - SchedModel.init(ST->getSchedModel(), ST, TII); + SchedModel.init(ST); } SystemZPostRASchedStrategy::~SystemZPostRASchedStrategy() { |

