diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2016-04-26 00:56:36 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2016-04-26 00:56:36 +0000 |
commit | 1aa3cf7d18aa463d42197844ce46a2bc785e9979 (patch) | |
tree | 2c6cda6cb07e0cc4937b1d9e350e1281664877c3 | |
parent | 957d084811c99851398528ff818ef44137d00705 (diff) | |
download | bcm5719-llvm-1aa3cf7d18aa463d42197844ce46a2bc785e9979.tar.gz bcm5719-llvm-1aa3cf7d18aa463d42197844ce46a2bc785e9979.zip |
Reverting Thumb2SizeReduction opt bisect change to fix failing buildbots.
llvm-svn: 267506
-rw-r--r-- | llvm/lib/Target/ARM/Thumb2SizeReduction.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp b/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp index cac062c8742..9c2229916ba 100644 --- a/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp +++ b/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp @@ -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()); |