[llvm] r260182 - Remove SCEVAAWrapperPass from createLegacyPMAAResults; NFC
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 8 17:21:50 PST 2016
Author: sanjoy
Date: Mon Feb 8 19:21:50 2016
New Revision: 260182
URL: http://llvm.org/viewvc/llvm-project?rev=260182&view=rev
Log:
Remove SCEVAAWrapperPass from createLegacyPMAAResults; NFC
Summary:
createLegacyPMAAResults is only called by CGSCC and Module passes, so
the call to getAnalysisIfAvailable<SCEVAAWrapperPass>() never
succeeds (SCEVAAWrapperPass is a function pass).
Reviewers: chandlerc
Subscribers: mcrosier, llvm-commits
Differential Revision: http://reviews.llvm.org/D17009
Modified:
llvm/trunk/lib/Analysis/AliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/AliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/AliasAnalysis.cpp?rev=260182&r1=260181&r2=260182&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/AliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/AliasAnalysis.cpp Mon Feb 8 19:21:50 2016
@@ -530,8 +530,6 @@ AAResults llvm::createLegacyPMAAResults(
AAR.addAAResult(WrapperPass->getResult());
if (auto *WrapperPass = P.getAnalysisIfAvailable<GlobalsAAWrapperPass>())
AAR.addAAResult(WrapperPass->getResult());
- if (auto *WrapperPass = P.getAnalysisIfAvailable<SCEVAAWrapperPass>())
- AAR.addAAResult(WrapperPass->getResult());
if (auto *WrapperPass = P.getAnalysisIfAvailable<CFLAAWrapperPass>())
AAR.addAAResult(WrapperPass->getResult());
More information about the llvm-commits
mailing list