aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/InstructionCombining.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2007-01-08 20:17:17 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2007-01-08 20:17:17 +0000
commitdfc12993b97c0afb25eb82aacb901bd9000e4be2 (patch)
tree479cb40f010af58dca342e4feb97cbc4ae7580a8 /lib/Transforms/Scalar/InstructionCombining.cpp
parent877e7ce051aa0b29e68be9a5633cc8e17e2ec332 (diff)
Unbreak VC++ build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/InstructionCombining.cpp')
-rw-r--r--lib/Transforms/Scalar/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp
index 326de6642d..c8b38b8603 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -1091,7 +1091,7 @@ bool InstCombiner::SimplifyDemandedBits(Value *V, uint64_t DemandedMask,
// If the top bit of the output is demanded, demand everything from the
// input. Otherwise, we demand all the input bits except NLZ top bits.
- uint64_t InDemandedBits = ~0ULL >> 64-BitWidth+NLZ;
+ uint64_t InDemandedBits = ~0ULL >> (64-BitWidth+NLZ);
// Find information about known zero/one bits in the input.
if (SimplifyDemandedBits(I->getOperand(0), InDemandedBits,