diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-09-26 11:30:35 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-09-26 11:30:35 +0000 |
commit | 75738450618d009126375b4d78538d06b10a9955 (patch) | |
tree | 1eeea92325a4d1cb72004710888902cdb2af363a /llvm/lib/Analysis/ValueTracking.cpp | |
parent | a0686015106c2a04e85af82a4687895e12a4531c (diff) | |
download | bcm5719-llvm-75738450618d009126375b4d78538d06b10a9955.tar.gz bcm5719-llvm-75738450618d009126375b4d78538d06b10a9955.zip |
Remove local shadow constant. NFCI.
ValueTracking.cpp already has a local static MaxDepth = 6 constant - this one seems to have been missed when rL124183 landed.
llvm-svn: 372964
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
-rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 3249efdf1a1..f0b87810ef9 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -2666,8 +2666,6 @@ static unsigned ComputeNumSignBitsImpl(const Value *V, unsigned Depth, /// through SExt instructions only if LookThroughSExt is true. bool llvm::ComputeMultiple(Value *V, unsigned Base, Value *&Multiple, bool LookThroughSExt, unsigned Depth) { - const unsigned MaxDepth = 6; - assert(V && "No Value?"); assert(Depth <= MaxDepth && "Limit Search Depth"); assert(V->getType()->isIntegerTy() && "Not integer or pointer type!"); |