diff options
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 0878008..2338e9c 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -8783,7 +8783,7 @@ bool InstCombiner::transformConstExprCastCall(CallSite CS) { // Conversion is ok if changing from one pointer type to another or from // a pointer to an integer of the same size. !((isa<PointerType>(OldRetTy) || OldRetTy == TD->getIntPtrType()) && - isa<PointerType>(NewRetTy) || NewRetTy == TD->getIntPtrType())) + (isa<PointerType>(NewRetTy) || NewRetTy == TD->getIntPtrType()))) return false; // Cannot transform this return value. if (!Caller->use_empty() && |