diff options
author | Adam Nemet <anemet@apple.com> | 2016-07-18 16:29:21 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2016-07-18 16:29:21 +0000 |
commit | 79ac42a5c99135ed6ecf8c011471d42ec5269f6c (patch) | |
tree | 8ab2ecba0ea4f98b783bd8b827fe33852bd8650c /llvm/lib/Analysis/Analysis.cpp | |
parent | 3beef418734bbde545fe3d7f2e7048d8cb0d319f (diff) | |
download | bcm5719-llvm-79ac42a5c99135ed6ecf8c011471d42ec5269f6c.tar.gz bcm5719-llvm-79ac42a5c99135ed6ecf8c011471d42ec5269f6c.zip |
[OptRemarkEmitter] Port to new PM
Summary:
The main goal is to able to start using the new OptRemarkEmitter
analysis from the LoopVectorizer. Since the vectorizer was recently
converted to the new PM, it makes sense to convert this analysis as
well.
This pass is currently tested through the LoopDistribution pass, so I am
also porting LoopDistribution to get coverage for this analysis with the
new PM.
Reviewers: davidxl, silvas
Subscribers: llvm-commits, mzolotukhin
Differential Revision: https://reviews.llvm.org/D22436
llvm-svn: 275810
Diffstat (limited to 'llvm/lib/Analysis/Analysis.cpp')
-rw-r--r-- | llvm/lib/Analysis/Analysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/Analysis.cpp b/llvm/lib/Analysis/Analysis.cpp index 105a9fda3e2..c04447ca58c 100644 --- a/llvm/lib/Analysis/Analysis.cpp +++ b/llvm/lib/Analysis/Analysis.cpp @@ -64,7 +64,7 @@ void llvm::initializeAnalysis(PassRegistry &Registry) { initializeModuleDebugInfoPrinterPass(Registry); initializeModuleSummaryIndexWrapperPassPass(Registry); initializeObjCARCAAWrapperPassPass(Registry); - initializeOptimizationRemarkEmitterPass(Registry); + initializeOptimizationRemarkEmitterWrapperPassPass(Registry); initializePostDominatorTreeWrapperPassPass(Registry); initializeRegionInfoPassPass(Registry); initializeRegionViewerPass(Registry); |