summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-07-10 12:06:22 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-07-10 12:06:22 +0000
commitd162d85688e33bf69525926410a6614655585936 (patch)
treef7cc7228bd12906e3f0f5489b5010e92481beb9d /llvm/lib/Target
parentb8d77eb300eb7d14bedd6c37cff0ba6706f46772 (diff)
downloadbcm5719-llvm-d162d85688e33bf69525926410a6614655585936.tar.gz
bcm5719-llvm-d162d85688e33bf69525926410a6614655585936.zip
Add parentheses yet again to satisfy GCC's warnings.
llvm-svn: 108043
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
index b9a9ecaac80..182bd993714 100644
--- a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
@@ -828,9 +828,9 @@ ARMBaseRegisterInfo::processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
// 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)) {
OpenPOWER on IntegriCloud