diff options
| -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() { |

