summaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-02 18:43:05 +0000
committerDan Gohman <gohman@apple.com>2010-07-02 18:43:05 +0000
commit8c1ffae068110f1ea53cd4898eeda2da30f9a305 (patch)
tree862907409307e0d4f59b177486651b2d5a25ac77 /lib/Transforms
parent1e109621f1f9173df62958eca4260c809114bc3d (diff)
downloadllvm-8c1ffae068110f1ea53cd4898eeda2da30f9a305.tar.gz
llvm-8c1ffae068110f1ea53cd4898eeda2da30f9a305.tar.bz2
llvm-8c1ffae068110f1ea53cd4898eeda2da30f9a305.tar.xz
Don't claim to preserve AliasAnalysis. First, this is doesn't actually
have any effect, and second, deleting stores can potentially invalidate an AliasAnalysis, and there's currently no notification for this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/DeadStoreElimination.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/DeadStoreElimination.cpp b/lib/Transforms/Scalar/DeadStoreElimination.cpp
index 4fbc0f1191..e047e4ffa1 100644
--- a/lib/Transforms/Scalar/DeadStoreElimination.cpp
+++ b/lib/Transforms/Scalar/DeadStoreElimination.cpp
@@ -74,7 +74,6 @@ namespace {
AU.addRequired<AliasAnalysis>();
AU.addRequired<MemoryDependenceAnalysis>();
AU.addPreserved<DominatorTree>();
- AU.addPreserved<AliasAnalysis>();
AU.addPreserved<MemoryDependenceAnalysis>();
}