From 815e967d9805b349bdb2079d2f0f6731f36f58d1 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Wed, 10 Nov 2010 20:53:24 +0000 Subject: [PATCH] Reduce the maximum recursion depth, 5 seems pointlessly too much. Probably it should just be 1, but compromise with 3. llvm-svn: 118718 --- lib/Analysis/InstructionSimplify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/InstructionSimplify.cpp b/lib/Analysis/InstructionSimplify.cpp index a2d33974a45..c5fb7758bb9 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);