From 832282e06176d7fa3718a3734b574b687d992d33 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 2 Jul 2010 18:43:05 +0000 Subject: 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 --- llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/Transforms') 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(); AU.addRequired(); AU.addPreserved(); - AU.addPreserved(); AU.addPreserved(); } -- cgit v1.2.3