This is an archive of the discontinued LLVM Phabricator instance.

ScheduleDAGInstrs: Remove IsPostRA flag; NFC
ClosedPublic

Authored by MatzeB on Nov 2 2015, 10:51 AM.

Details

Summary

ScheduleDAGInstrs doesn't behave differently before or after register
allocation. So there should be no need for the IsPostRA flag; It was only
used in a method of MachineSchedulerBase which behaved differently in
MachineScheduler/PostMachineScheduler. Change this to let
MachineScheduler/PostMachineScheduler just pass in a
parameter to that function.

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB updated this revision to Diff 38943.Nov 2 2015, 10:51 AM
MatzeB retitled this revision from to ScheduleDAGInstrs: Remove IsPostRA flag; NFC.
MatzeB updated this object.
MatzeB added a reviewer: atrick.
MatzeB set the repository for this revision to rL LLVM.
MatzeB added a subscriber: llvm-commits.
atrick accepted this revision.Nov 2 2015, 2:33 PM
atrick edited edge metadata.

Thanks.

This revision is now accepted and ready to land.Nov 2 2015, 2:33 PM
This revision was automatically updated to reflect the committed changes.