[llvm-commits] [llvm] r92898 - /llvm/trunk/lib/Transforms/IPO/FunctionAttrs.cpp
Duncan Sands
baldrick at free.fr
Wed Jan 6 21:48:52 PST 2010
Author: baldrick
Date: Wed Jan 6 23:48:42 2010
New Revision: 92898
URL: http://llvm.org/viewvc/llvm-project?rev=92898&view=rev
Log:
Be less stingy as to how many selects and phi nodes we
are prepared to look through.
Modified:
llvm/trunk/lib/Transforms/IPO/FunctionAttrs.cpp
Modified: llvm/trunk/lib/Transforms/IPO/FunctionAttrs.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/FunctionAttrs.cpp?rev=92898&r1=92897&r2=92898&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/FunctionAttrs.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/FunctionAttrs.cpp Wed Jan 6 23:48:42 2010
@@ -79,8 +79,8 @@
/// memory that is local to the function. Global constants are considered
/// local to all functions.
bool FunctionAttrs::PointsToLocalMemory(Value *V) {
- SmallVector<Value*, 8> Worklist;
- unsigned MaxLookup = 4;
+ SmallVector<Value*, 16> Worklist;
+ unsigned MaxLookup = 8;
Worklist.push_back(V);
More information about the llvm-commits
mailing list