[llvm-commits] [llvm] r118718 - /llvm/trunk/lib/Analysis/InstructionSimplify.cpp
Duncan Sands
baldrick at free.fr
Wed Nov 10 12:53:24 PST 2010
Author: baldrick
Date: Wed Nov 10 14:53:24 2010
New Revision: 118718
URL: http://llvm.org/viewvc/llvm-project?rev=118718&view=rev
Log:
Reduce the maximum recursion depth, 5 seems pointlessly too much.
Probably it should just be 1, but compromise with 3.
Modified:
llvm/trunk/lib/Analysis/InstructionSimplify.cpp
Modified: llvm/trunk/lib/Analysis/InstructionSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/InstructionSimplify.cpp?rev=118718&r1=118717&r2=118718&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/InstructionSimplify.cpp (original)
+++ llvm/trunk/lib/Analysis/InstructionSimplify.cpp Wed Nov 10 14:53:24 2010
@@ -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);
More information about the llvm-commits
mailing list