From 2435330eaddaddc3bd4718d88be423b194e4bbbd Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Thu, 25 Oct 2012 07:25:56 +0000 Subject: [PATCH] Try to revive the Polly builders after this LLVM API change. llvm-svn: 166666 --- polly/lib/CodeGen/CodeGeneration.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp index 804ff9f7ce9e..fcd2d5295d37 100644 --- a/polly/lib/CodeGen/CodeGeneration.cpp +++ b/polly/lib/CodeGen/CodeGeneration.cpp @@ -358,7 +358,8 @@ private: } IntegerType *ClastStmtCodeGen::getIntPtrTy() { - return P->getAnalysis().getIntPtrType(Builder.getContext()); + // FIXME: This might need to get a proper address space. Hard code 0 for now. + return P->getAnalysis().getIntPtrType(Builder.getContext(), 0u); } const std::vector &ClastStmtCodeGen::getParallelLoops() { -- GitLab