mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 01:12:59 +00:00
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260182 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bca133d0bb
commit
38e2fe6213
@ -530,8 +530,6 @@ AAResults llvm::createLegacyPMAAResults(Pass &P, Function &F,
|
||||
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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user