OSDN Git Service

Reverting Thumb2SizeReduction opt bisect change to fix failing buildbots.
authorAndrew Kaylor <andrew.kaylor@intel.com>
Tue, 26 Apr 2016 00:56:36 +0000 (00:56 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Tue, 26 Apr 2016 00:56:36 +0000 (00:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267506 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/Thumb2SizeReduction.cpp

index cac062c..9c22299 100644 (file)
@@ -1025,8 +1025,7 @@ bool Thumb2SizeReduce::ReduceMBB(MachineBasicBlock &MBB) {
 }
 
 bool Thumb2SizeReduce::runOnMachineFunction(MachineFunction &MF) {
-  if (skipFunction(*MF.getFunction()) ||
-      (PredicateFtor && !PredicateFtor(*MF.getFunction())))
+  if (PredicateFtor && !PredicateFtor(*MF.getFunction()))
     return false;
 
   STI = &static_cast<const ARMSubtarget &>(MF.getSubtarget());