Be less stingy as to how many selects and phi nodes we
authorDuncan Sands <baldrick@free.fr>
Thu, 7 Jan 2010 05:48:42 +0000 (05:48 +0000)
committerDuncan Sands <baldrick@free.fr>
Thu, 7 Jan 2010 05:48:42 +0000 (05:48 +0000)
are prepared to look through.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92898 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/FunctionAttrs.cpp

index f41698adc5e9798f14d99d99993947edd1ccec55..64a6d7809649b498a85b437111b2124c95ee37a4 100644 (file)
@@ -79,8 +79,8 @@ Pass *llvm::createFunctionAttrsPass() { return new FunctionAttrs(); }
 /// 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);