projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6696b0
)
Try to revive the Polly builders after this LLVM API change.
author
Chandler Carruth
<chandlerc@gmail.com>
Thu, 25 Oct 2012 07:25:56 +0000
(07:25 +0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Thu, 25 Oct 2012 07:25:56 +0000
(07:25 +0000)
llvm-svn: 166666
polly/lib/CodeGen/CodeGeneration.cpp
patch
|
blob
|
history
diff --git
a/polly/lib/CodeGen/CodeGeneration.cpp
b/polly/lib/CodeGen/CodeGeneration.cpp
index 804ff9f7ce9e863137e3454c2713cffb3e16bd7a..fcd2d5295d37fcbc43e50212d786c99708a1810d 100644
(file)
--- 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() {