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 | 8f7220e9fdca2c9ae06b36779d180e5747e1bfe0 (patch) | |
tree | 3fc077f51cd0aee5fc3bfea519d8ec2ca4822531 /llvm/lib/Analysis/InstructionSimplify.cpp | |
parent | 0a6021a54dfaca401f8a13b358165f980696151b (diff) | |
download | bcm5719-llvm-8f7220e9fdca2c9ae06b36779d180e5747e1bfe0.tar.gz bcm5719-llvm-8f7220e9fdca2c9ae06b36779d180e5747e1bfe0.zip |
Reduce the maximum recursion depth, 5 seems pointlessly too much.
Probably it should just be 1, but compromise with 3.
llvm-svn: 118718
Diffstat (limited to 'llvm/lib/Analysis/InstructionSimplify.cpp')
-rw-r--r-- | llvm/lib/Analysis/InstructionSimplify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/InstructionSimplify.cpp b/llvm/lib/Analysis/InstructionSimplify.cpp index a2d33974a45..c5fb7758bb9 100644 --- a/llvm/lib/Analysis/InstructionSimplify.cpp +++ b/llvm/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); |