summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/LoopGenerators.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/CodeGen/LoopGenerators.cpp')
-rw-r--r--polly/lib/CodeGen/LoopGenerators.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp
index fcfd916c3e5..8322ab09220 100644
--- a/polly/lib/CodeGen/LoopGenerators.cpp
+++ b/polly/lib/CodeGen/LoopGenerators.cpp
@@ -207,7 +207,8 @@ void OMPGenerator::createCallLoopEndNowait() {
}
IntegerType *OMPGenerator::getIntPtrTy() {
- return P->getAnalysis<DataLayout>().getIntPtrType(Builder.getContext());
+ return P->getAnalysis<DataLayoutPass>().getDataLayout().getIntPtrType(
+ Builder.getContext());
}
Module *OMPGenerator::getModule() {
OpenPOWER on IntegriCloud