aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
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
commitacfa3ad91f8dd5ffe41e60819560a04c5683fcfc (patch)
treed2b71eba112cbd230c44e07b8b1ef1f8da96ad89 /lib/Analysis
parentef4d21d477e7f2102252e1fba5ff5ac1e970dfcb (diff)
downloadexternal_llvm-acfa3ad91f8dd5ffe41e60819560a04c5683fcfc.zip
external_llvm-acfa3ad91f8dd5ffe41e60819560a04c5683fcfc.tar.gz
external_llvm-acfa3ad91f8dd5ffe41e60819560a04c5683fcfc.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')
-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;
}