commit | b484d1f4d7fb6c44e83db5e98c5c7b00ba9fa144 | [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 | 48a2c56cbf5739808cb6300941ff78107c7e2bc8 [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; }