summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2016-04-26 00:56:36 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2016-04-26 00:56:36 +0000
commit1aa3cf7d18aa463d42197844ce46a2bc785e9979 (patch)
tree2c6cda6cb07e0cc4937b1d9e350e1281664877c3
parent957d084811c99851398528ff818ef44137d00705 (diff)
downloadbcm5719-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.cpp3
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());
OpenPOWER on IntegriCloud