diff options
author | Duncan Sands <baldrick@free.fr> | 2010-11-10 20:53:24 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-11-10 20:53:24 +0000 |
commit | bc68d71d2a858c748dbb1539201010bbc5758dc6 (patch) | |
tree | 0697720a4800b08e4ae9c6c6c1d7ecc0abef5e2d /lib/Analysis/InstructionSimplify.cpp | |
parent | 075fb5d68fcb55d26e44c48f07dfdbbfa21ccb2a (diff) |
Reduce the maximum recursion depth, 5 seems pointlessly too much.
Probably it should just be 1, but compromise with 3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118718 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/InstructionSimplify.cpp')
-rw-r--r-- | lib/Analysis/InstructionSimplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/InstructionSimplify.cpp b/lib/Analysis/InstructionSimplify.cpp index a2d33974a4..c5fb7758bb 100644 --- a/lib/Analysis/InstructionSimplify.cpp +++ b/lib/Analysis/InstructionSimplify.cpp @@ -21,7 +21,7 @@ using namespace llvm; using namespace llvm::PatternMatch; -#define MaxRecursionDepth 5 +#define MaxRecursionDepth 3 static Value *SimplifyBinOp(unsigned, Value *, Value *, const TargetData *, unsigned); |