diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2012-10-25 07:25:56 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2012-10-25 07:25:56 +0000 |
| commit | 2435330eaddaddc3bd4718d88be423b194e4bbbd (patch) | |
| tree | 3836bc536fde3685a99a4273216f4e01900b43d4 | |
| parent | c6696b04db09a5c554bbea455ff0a3e02f70676e (diff) | |
| download | bcm5719-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.cpp | 3 |
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() { |

