From 04e0c95248aef2f16dd089f40c4fb3ea66af89bf Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 10 Nov 2009 09:32:10 +0000 Subject: [PATCH] Add brackets to make gcc-4.4 happy. llvm-svn: 86681 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 73a1fe2897f5..e65eaf38ad8c 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -8262,9 +8262,9 @@ Instruction *InstCombiner::commonIntCastTransforms(CastInst &CI) { // expression tree to something weird like i93 unless the source is also // strange. if (!isa(SrcI->getType()) || - ShouldChangeType(SrcI->getType(), DestTy, TD) && - CanEvaluateInDifferentType(SrcI, DestTy, - CI.getOpcode(), NumCastsRemoved)) { + (ShouldChangeType(SrcI->getType(), DestTy, TD) && + CanEvaluateInDifferentType(SrcI, DestTy, + CI.getOpcode(), NumCastsRemoved))) { // If this cast is a truncate, evaluting in a different type always // eliminates the cast, so it is always a win. If this is a zero-extension, // we need to do an AND to maintain the clear top-part of the computation,