diff options
| author | Tobias Grosser <tobias@grosser.es> | 2015-08-17 10:57:08 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2015-08-17 10:57:08 +0000 |
| commit | c5bcf246d134c4af9bd738c3629ce12504bd6db8 (patch) | |
| tree | 95b4a1c3b34d43c28b1ca379855f965cf3b1c686 /polly/lib/Transform/CodePreparation.cpp | |
| parent | 607b8b26e9ca34ff47ac294f34bbe0b1d170e8e4 (diff) | |
| download | bcm5719-llvm-c5bcf246d134c4af9bd738c3629ce12504bd6db8.tar.gz bcm5719-llvm-c5bcf246d134c4af9bd738c3629ce12504bd6db8.zip | |
Fix Polly after SCEV port to new pass manager
This fixes compilation after LLVM commit r245193.
llvm-svn: 245211
Diffstat (limited to 'polly/lib/Transform/CodePreparation.cpp')
| -rw-r--r-- | polly/lib/Transform/CodePreparation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/Transform/CodePreparation.cpp b/polly/lib/Transform/CodePreparation.cpp index 78e256326fb..c76e076c94f 100644 --- a/polly/lib/Transform/CodePreparation.cpp +++ b/polly/lib/Transform/CodePreparation.cpp @@ -66,7 +66,7 @@ CodePreparation::~CodePreparation() { clear(); } void CodePreparation::getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired<LoopInfoWrapperPass>(); - AU.addRequired<ScalarEvolution>(); + AU.addRequired<ScalarEvolutionWrapperPass>(); AU.addPreserved<LoopInfoWrapperPass>(); AU.addPreserved<RegionInfoPass>(); @@ -76,7 +76,7 @@ void CodePreparation::getAnalysisUsage(AnalysisUsage &AU) const { bool CodePreparation::runOnFunction(Function &F) { LI = &getAnalysis<LoopInfoWrapperPass>().getLoopInfo(); - SE = &getAnalysis<ScalarEvolution>(); + SE = &getAnalysis<ScalarEvolutionWrapperPass>().getSE(); splitEntryBlockForAlloca(&F.getEntryBlock(), this); |

