diff options
author | Duncan Sands <baldrick@free.fr> | 2009-11-10 09:32:10 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-11-10 09:32:10 +0000 |
commit | 04e0c95248aef2f16dd089f40c4fb3ea66af89bf (patch) | |
tree | 3ba6bcb2f034ea3395b81d3d1491cbd67bb465de /llvm/lib/Transforms/Scalar/InstructionCombining.cpp | |
parent | b8be78b75368997cbd81f68206b0959cf72c0793 (diff) | |
download | bcm5719-llvm-04e0c95248aef2f16dd089f40c4fb3ea66af89bf.tar.gz bcm5719-llvm-04e0c95248aef2f16dd089f40c4fb3ea66af89bf.zip |
Add brackets to make gcc-4.4 happy.
llvm-svn: 86681
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 73a1fe2897f..e65eaf38ad8 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<IntegerType>(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, |