[llvm-commits] [polly] r166666 - /polly/trunk/lib/CodeGen/CodeGeneration.cpp
Chandler Carruth
chandlerc at gmail.com
Thu Oct 25 00:25:56 PDT 2012
Author: chandlerc
Date: Thu Oct 25 02:25:56 2012
New Revision: 166666
URL: http://llvm.org/viewvc/llvm-project?rev=166666&view=rev
Log:
Try to revive the Polly builders after this LLVM API change.
Modified:
polly/trunk/lib/CodeGen/CodeGeneration.cpp
Modified: polly/trunk/lib/CodeGen/CodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/CodeGeneration.cpp?rev=166666&r1=166665&r2=166666&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/CodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/CodeGeneration.cpp Thu Oct 25 02:25:56 2012
@@ -358,7 +358,8 @@
}
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() {
More information about the llvm-commits
mailing list