From 1aa3cf7d18aa463d42197844ce46a2bc785e9979 Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Tue, 26 Apr 2016 00:56:36 +0000 Subject: [PATCH] Reverting Thumb2SizeReduction opt bisect change to fix failing buildbots. llvm-svn: 267506 --- llvm/lib/Target/ARM/Thumb2SizeReduction.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp b/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp index cac062c..9c22299 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(MF.getSubtarget()); -- 2.7.4