[llvm] r267506 - Reverting Thumb2SizeReduction opt bisect change to fix failing buildbots.

Andrew Kaylor via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 17:56:37 PDT 2016


Author: akaylor
Date: Mon Apr 25 19:56:36 2016
New Revision: 267506

URL: http://llvm.org/viewvc/llvm-project?rev=267506&view=rev
Log:
Reverting Thumb2SizeReduction opt bisect change to fix failing buildbots.


Modified:
    llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp

Modified: llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp?rev=267506&r1=267505&r2=267506&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp (original)
+++ llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp Mon Apr 25 19:56:36 2016
@@ -1025,8 +1025,7 @@ bool Thumb2SizeReduce::ReduceMBB(Machine
 }
 
 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());




More information about the llvm-commits mailing list