summaryrefslogtreecommitdiffstats
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
commit832282e06176d7fa3718a3734b574b687d992d33 (patch)
treeb1e8b61552fa0583273342cd0246c73659773c49
parentdf12d08b8ecb222dc5e9f41cf8eba94d39a3ca44 (diff)
downloadbcm5719-llvm-832282e06176d7fa3718a3734b574b687d992d33.tar.gz
bcm5719-llvm-832282e06176d7fa3718a3734b574b687d992d33.zip
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. llvm-svn: 107496
-rw-r--r--llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp b/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
index 4fbc0f1191f..e047e4ffa15 100644
--- a/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
+++ b/llvm/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>();
}
OpenPOWER on IntegriCloud