diff options
| author | Dan Gohman <gohman@apple.com> | 2010-07-02 18:43:05 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-07-02 18:43:05 +0000 |
| commit | 34cbae40d52fd22b6e88e4a6153e14a73772b190 (patch) | |
| tree | 862907409307e0d4f59b177486651b2d5a25ac77 | |
| parent | c82084447cf147b6790d6bcf452c4693ffb1e72a (diff) | |
| download | external_llvm-34cbae40d52fd22b6e88e4a6153e14a73772b190.zip external_llvm-34cbae40d52fd22b6e88e4a6153e14a73772b190.tar.gz external_llvm-34cbae40d52fd22b6e88e4a6153e14a73772b190.tar.bz2 | |
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
| -rw-r--r-- | lib/Transforms/Scalar/DeadStoreElimination.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/DeadStoreElimination.cpp b/lib/Transforms/Scalar/DeadStoreElimination.cpp index 4fbc0f1..e047e4f 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>(); } |
