Re-commit optimization bisect support (r267022) without new pass manager support.
The original commit was reverted because of a buildbot problem with LazyCallGraph::SCC handling (not related to the OptBisect handling). Differential Revision: http://reviews.llvm.org/D19172 llvm-svn: 267231
This commit is contained in:
@@ -324,7 +324,7 @@ ScheduleDAGInstrs *PostMachineScheduler::createPostMachineScheduler() {
|
||||
/// design would be to split blocks at scheduling boundaries, but LLVM has a
|
||||
/// general bias against block splitting purely for implementation simplicity.
|
||||
bool MachineScheduler::runOnMachineFunction(MachineFunction &mf) {
|
||||
if (skipOptnoneFunction(*mf.getFunction()))
|
||||
if (skipFunction(*mf.getFunction()))
|
||||
return false;
|
||||
|
||||
if (EnableMachineSched.getNumOccurrences()) {
|
||||
@@ -362,7 +362,7 @@ bool MachineScheduler::runOnMachineFunction(MachineFunction &mf) {
|
||||
}
|
||||
|
||||
bool PostMachineScheduler::runOnMachineFunction(MachineFunction &mf) {
|
||||
if (skipOptnoneFunction(*mf.getFunction()))
|
||||
if (skipFunction(*mf.getFunction()))
|
||||
return false;
|
||||
|
||||
if (EnablePostRAMachineSched.getNumOccurrences()) {
|
||||
|
||||
Reference in New Issue
Block a user