Be less stingy as to how many selects and phi nodes we
are prepared to look through.
llvm-svn: 92898
diff --git a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
index f41698a..64a6d78 100644
--- a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
+++ b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp
@@ -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);