[llvm-commits] [polly] r166668 - /polly/trunk/lib/CodeGen/LoopGenerators.cpp
Chandler Carruth
chandlerc at gmail.com
Thu Oct 25 00:42:03 PDT 2012
Author: chandlerc
Date: Thu Oct 25 02:42:03 2012
New Revision: 166668
URL: http://llvm.org/viewvc/llvm-project?rev=166668&view=rev
Log:
Another fix for a build-bot reported API mismatch.
Modified:
polly/trunk/lib/CodeGen/LoopGenerators.cpp
Modified: polly/trunk/lib/CodeGen/LoopGenerators.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/LoopGenerators.cpp?rev=166668&r1=166667&r2=166668&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/LoopGenerators.cpp (original)
+++ polly/trunk/lib/CodeGen/LoopGenerators.cpp Thu Oct 25 02:42:03 2012
@@ -180,7 +180,8 @@
}
IntegerType *OMPGenerator::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);
}
Module *OMPGenerator::getModule() {
More information about the llvm-commits
mailing list