diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-10-25 07:42:03 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-10-25 07:42:03 +0000 |
commit | acdc5e812df510358d2a5eb4e945dad8e692c82a (patch) | |
tree | b2c9c1876d2c2d161b1a4a5a08ea3bbc76f28c09 /polly/lib/CodeGen/LoopGenerators.cpp | |
parent | 2435330eaddaddc3bd4718d88be423b194e4bbbd (diff) | |
download | bcm5719-llvm-acdc5e812df510358d2a5eb4e945dad8e692c82a.tar.gz bcm5719-llvm-acdc5e812df510358d2a5eb4e945dad8e692c82a.zip |
Another fix for a build-bot reported API mismatch.
llvm-svn: 166668
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 4edd01d81ac..98d2751503f 100644 --- a/polly/lib/CodeGen/LoopGenerators.cpp +++ b/polly/lib/CodeGen/LoopGenerators.cpp @@ -180,7 +180,8 @@ void OMPGenerator::createCallLoopEndNowait() { } IntegerType *OMPGenerator::getIntPtrTy() { - return P->getAnalysis<DataLayout>().getIntPtrType(Builder.getContext()); + // FIXME: This might need to get a proper address space. Hard code 0 for now. + return P->getAnalysis<DataLayout>().getIntPtrType(Builder.getContext(), 0u); } Module *OMPGenerator::getModule() { |