[llvm] r267487 - Fix build warning

Andrew Kaylor via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 15:27:30 PDT 2016


Author: akaylor
Date: Mon Apr 25 17:27:30 2016
New Revision: 267487

URL: http://llvm.org/viewvc/llvm-project?rev=267487&view=rev
Log:
Fix build warning


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=267487&r1=267486&r2=267487&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp (original)
+++ llvm/trunk/lib/Target/ARM/Thumb2SizeReduction.cpp Mon Apr 25 17:27:30 2016
@@ -1026,7 +1026,7 @@ bool Thumb2SizeReduce::ReduceMBB(Machine
 
 bool Thumb2SizeReduce::runOnMachineFunction(MachineFunction &MF) {
   if (skipFunction(*MF.getFunction()) ||
-      PredicateFtor && !PredicateFtor(*MF.getFunction()))
+      (PredicateFtor && !PredicateFtor(*MF.getFunction())))
     return false;
 
   STI = &static_cast<const ARMSubtarget &>(MF.getSubtarget());




More information about the llvm-commits mailing list