commit | 45c8388e2a94502ded17dc493fe3fb10b04ce439 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Mon Jul 30 17:29:24 2007 +0000 |
committer | Owen Anderson <resistor@mac.com> | Mon Jul 30 17:29:24 2007 +0000 |
tree | 98ebecfe5db2b291532428176c7dcc5102e0bac2 | |
parent | 4f9ba7c40c41cae3d9730c5416a2750dea4f0ff4 [diff] [blame] |
Use more caching when computing non-local dependence. This makes bzip2 not use up the entire 32-bit address space. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40596 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp index 4bd8771..02b0af6 100644 --- a/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -129,6 +129,8 @@ if (!inserted && !predOnStack) resp.insert(std::make_pair(block, None)); + else if (inserted && predOnStack) + resp.insert(std::make_pair(block, NonLocal)); return inserted; }