diff --git a/lib/CodeGen/MachineBlockPlacement.cpp b/lib/CodeGen/MachineBlockPlacement.cpp index df05458a8ec..41b2fcf86aa 100644 --- a/lib/CodeGen/MachineBlockPlacement.cpp +++ b/lib/CodeGen/MachineBlockPlacement.cpp @@ -1455,9 +1455,6 @@ bool MachineBlockPlacement::runOnMachineFunction(MachineFunction &F) { if (std::next(F.begin()) == F.end()) return false; - if (skipFunction(*F.getFunction())) - return false; - MBPI = &getAnalysis(); MBFI = &getAnalysis(); MLI = &getAnalysis();