[llvm-commits] [llvm] r108043 - /llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp

Chandler Carruth chandlerc at gmail.com
Sat Jul 10 05:06:22 PDT 2010


Author: chandlerc
Date: Sat Jul 10 07:06:22 2010
New Revision: 108043

URL: http://llvm.org/viewvc/llvm-project?rev=108043&view=rev
Log:
Add parentheses yet again to satisfy GCC's warnings.

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

Modified: llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp?rev=108043&r1=108042&r2=108043&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp Sat Jul 10 07:06:22 2010
@@ -828,9 +828,9 @@
   // FIXME: We could add logic to be more precise about negative offsets
   //        and which instructions will need a scratch register for them. Is it
   //        worth the effort and added fragility?
-  bool BigStack = RS &&
-    (estimateStackSize(MF) + (hasFP(MF) ? 4:0) >= estimateRSStackSizeLimit(MF))
-    || MFI->hasVarSizedObjects();
+  bool BigStack =
+    (RS && (estimateStackSize(MF) + (hasFP(MF) ? 4:0) >=
+            estimateRSStackSizeLimit(MF))) || MFI->hasVarSizedObjects();
 
   bool ExtraCSSpill = false;
   if (BigStack || !CanEliminateFrame || cannotEliminateFrame(MF)) {





More information about the llvm-commits mailing list