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 | 832282e06176d7fa3718a3734b574b687d992d33 (patch) | |
| tree | b1e8b61552fa0583273342cd0246c73659773c49 | |
| parent | df12d08b8ecb222dc5e9f41cf8eba94d39a3ca44 (diff) | |
| download | bcm5719-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.cpp | 1 |
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>(); } |

