diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-25 19:17:57 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-25 19:17:57 +0000 |
commit | c5d1689b45f04f656528985801711f64f6911a15 (patch) | |
tree | f840c568ba37ed3c7c4e5083c57400c735dae922 /polly/lib/CodeGen/LoopGenerators.cpp | |
parent | 38d77473b0b1267658b09042670dbb77c945a61b (diff) | |
download | bcm5719-llvm-c5d1689b45f04f656528985801711f64f6911a15.tar.gz bcm5719-llvm-c5d1689b45f04f656528985801711f64f6911a15.zip |
Update for llvm api change.
llvm-svn: 202183
Diffstat (limited to 'polly/lib/CodeGen/LoopGenerators.cpp')
-rw-r--r-- | polly/lib/CodeGen/LoopGenerators.cpp | 3 |
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() { |