summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstructionSimplify.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-11-10 20:53:24 +0000
committerDuncan Sands <baldrick@free.fr>2010-11-10 20:53:24 +0000
commit8f7220e9fdca2c9ae06b36779d180e5747e1bfe0 (patch)
tree3fc077f51cd0aee5fc3bfea519d8ec2ca4822531 /llvm/lib/Analysis/InstructionSimplify.cpp
parent0a6021a54dfaca401f8a13b358165f980696151b (diff)
downloadbcm5719-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.cpp2
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);
OpenPOWER on IntegriCloud