[llvm] r305160 - [MemorySSA] preservesAll() implies preserves<MemorySSA>(). NFCI.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 10 18:05:45 PDT 2017
Author: davide
Date: Sat Jun 10 20:05:45 2017
New Revision: 305160
URL: http://llvm.org/viewvc/llvm-project?rev=305160&view=rev
Log:
[MemorySSA] preservesAll() implies preserves<MemorySSA>(). NFCI.
Modified:
llvm/trunk/lib/Analysis/MemorySSA.cpp
Modified: llvm/trunk/lib/Analysis/MemorySSA.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemorySSA.cpp?rev=305160&r1=305159&r2=305160&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemorySSA.cpp (original)
+++ llvm/trunk/lib/Analysis/MemorySSA.cpp Sat Jun 10 20:05:45 2017
@@ -1872,7 +1872,6 @@ MemorySSAPrinterLegacyPass::MemorySSAPri
void MemorySSAPrinterLegacyPass::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
AU.addRequired<MemorySSAWrapperPass>();
- AU.addPreserved<MemorySSAWrapperPass>();
}
bool MemorySSAPrinterLegacyPass::runOnFunction(Function &F) {
More information about the llvm-commits
mailing list