diff options
author | Duncan Sands <baldrick@free.fr> | 2010-01-07 05:48:42 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-01-07 05:48:42 +0000 |
commit | f117880ab090b68cc1beaa1bf0778c1cb6764a66 (patch) | |
tree | 8a0292d923f8f48eea45784b5720ca6f21b32358 | |
parent | 3a08dcc156bea7acf99560e7edf5635095099b9a (diff) | |
download | bcm5719-llvm-f117880ab090b68cc1beaa1bf0778c1cb6764a66.tar.gz bcm5719-llvm-f117880ab090b68cc1beaa1bf0778c1cb6764a66.zip |
Be less stingy as to how many selects and phi nodes we
are prepared to look through.
llvm-svn: 92898
-rw-r--r-- | llvm/lib/Transforms/IPO/FunctionAttrs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp index f41698adc5e..64a6d780964 100644 --- a/llvm/lib/Transforms/IPO/FunctionAttrs.cpp +++ b/llvm/lib/Transforms/IPO/FunctionAttrs.cpp @@ -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); |