summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/lib/CodeGen/CodeGeneration.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp
index 804ff9f7ce9..fcd2d5295d3 100644
--- a/polly/lib/CodeGen/CodeGeneration.cpp
+++ b/polly/lib/CodeGen/CodeGeneration.cpp
@@ -358,7 +358,8 @@ private:
}
IntegerType *ClastStmtCodeGen::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);
}
const std::vector<std::string> &ClastStmtCodeGen::getParallelLoops() {
OpenPOWER on IntegriCloud