summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-10-25 07:25:56 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-10-25 07:25:56 +0000
commit2435330eaddaddc3bd4718d88be423b194e4bbbd (patch)
tree3836bc536fde3685a99a4273216f4e01900b43d4
parentc6696b04db09a5c554bbea455ff0a3e02f70676e (diff)
downloadbcm5719-llvm-2435330eaddaddc3bd4718d88be423b194e4bbbd.tar.gz
bcm5719-llvm-2435330eaddaddc3bd4718d88be423b194e4bbbd.zip
Try to revive the Polly builders after this LLVM API change.
llvm-svn: 166666
-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