From: Duncan Sands Date: Wed, 10 Nov 2010 20:53:24 +0000 (+0000) Subject: Reduce the maximum recursion depth, 5 seems pointlessly too much. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bc68d71d2a858c748dbb1539201010bbc5758dc6;p=oota-llvm.git 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 --- 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);