aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/InstructionCombining.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-21 18:09:24 +0000
committerChris Lattner <sabre@nondot.org>2009-01-21 18:09:24 +0000
commit455e9abf362a20bcfde9170fbec86b79ca0c40d5 (patch)
tree82e2a8e4b5b2033879cac4ba6b36ea5dea96f16b /lib/Transforms/Scalar/InstructionCombining.cpp
parent764fd0cbc8a0ee512a9352cfeb123e8778542d28 (diff)
Remove uses of uint32_t in favor of 'unsigned' for better
compatibility with cygwin. Patch by Jay Foad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62695 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 f038cd02a9..8b20453a0e 100644
--- a/lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -1284,7 +1284,7 @@ bool InstCombiner::SimplifyDemandedBits(Value *V, APInt DemandedMask,
KnownZero2, KnownOne2, Depth+1))
return true;
- uint32_t Leaders = KnownZero2.countLeadingOnes();
+ unsigned Leaders = KnownZero2.countLeadingOnes();
if (SimplifyDemandedBits(I->getOperand(1), AllOnes,
KnownZero2, KnownOne2, Depth+1))
return true;