Reduce the maximum recursion depth, 5 seems pointlessly too much.
authorDuncan Sands <baldrick@free.fr>
Wed, 10 Nov 2010 20:53:24 +0000 (20:53 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 10 Nov 2010 20:53:24 +0000 (20:53 +0000)
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

lib/Analysis/InstructionSimplify.cpp

index a2d33974a45cdcecdfc9b27e9c3cdb98decd4f4c..c5fb7758bb9543c03bc0777e9adda885013125cb 100644 (file)
@@ -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);