Be less stingy as to how many selects and phi nodes we

are prepared to look through.

llvm-svn: 92898
This commit is contained in:
Duncan Sands 2010-01-07 05:48:42 +00:00
parent 3a08dcc156
commit f117880ab0
1 changed files with 2 additions and 2 deletions

View 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);