aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/MemoryDependenceAnalysis.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-07-26 18:26:51 +0000
committerOwen Anderson <resistor@mac.com>2007-07-26 18:26:51 +0000
commit45537917eec15e5c3ef75c0ee2bf8963b02f3a54 (patch)
treed2b71eba112cbd230c44e07b8b1ef1f8da96ad89 /lib/Analysis/MemoryDependenceAnalysis.cpp
parent42000ef6c7bfd45989f6c76aa9d5be418b8bea42 (diff)
downloadexternal_llvm-45537917eec15e5c3ef75c0ee2bf8963b02f3a54.zip
external_llvm-45537917eec15e5c3ef75c0ee2bf8963b02f3a54.tar.gz
external_llvm-45537917eec15e5c3ef75c0ee2bf8963b02f3a54.tar.bz2
Fix a couple more bugs in the phi construction by pulling in code that does
almost the same things from LCSSA. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40540 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemoryDependenceAnalysis.cpp')
-rw-r--r--lib/Analysis/MemoryDependenceAnalysis.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp
index e260b27..064a087 100644
--- a/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -124,9 +124,6 @@ bool MemoryDependenceAnalysis::nonLocalHelper(Instruction* query,
visited.erase(block);
- if (!inserted)
- resp.insert(std::make_pair(block, None));
-
return inserted;
}