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:
@@ -1430,7 +1430,7 @@ bool MachineBlockPlacement::runOnMachineFunction(MachineFunction &F) {
|
||||
if (std::next(F.begin()) == F.end())
|
||||
return false;
|
||||
|
||||
if (skipOptnoneFunction(*F.getFunction()))
|
||||
if (skipFunction(*F.getFunction()))
|
||||
return false;
|
||||
|
||||
MBPI = &getAnalysis<MachineBranchProbabilityInfo>();
|
||||
|
||||
Reference in New Issue
Block a user