summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/LoopGenerators.cpp
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2012-11-01 16:45:18 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2012-11-01 16:45:18 +0000
commit5d01691d76d5f71e91a8bff8e027f9f37f291256 (patch)
treea9280f824f5c259e8ca6752ffa2c8854c63ffc6e /polly/lib/CodeGen/LoopGenerators.cpp
parentb3048116861acd5925562223c3c68f36cc47b7d0 (diff)
downloadbcm5719-llvm-5d01691d76d5f71e91a8bff8e027f9f37f291256.tar.gz
bcm5719-llvm-5d01691d76d5f71e91a8bff8e027f9f37f291256.zip
Revert multiple adress space changes in Polly
llvm-svn: 167234
Diffstat (limited to 'polly/lib/CodeGen/LoopGenerators.cpp')
-rw-r--r--polly/lib/CodeGen/LoopGenerators.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/polly/lib/CodeGen/LoopGenerators.cpp b/polly/lib/CodeGen/LoopGenerators.cpp
index 98d2751503f..4edd01d81ac 100644
--- a/polly/lib/CodeGen/LoopGenerators.cpp
+++ b/polly/lib/CodeGen/LoopGenerators.cpp
@@ -180,8 +180,7 @@ void OMPGenerator::createCallLoopEndNowait() {
}
IntegerType *OMPGenerator::getIntPtrTy() {
- // FIXME: This might need to get a proper address space. Hard code 0 for now.
- return P->getAnalysis<DataLayout>().getIntPtrType(Builder.getContext(), 0u);
+ return P->getAnalysis<DataLayout>().getIntPtrType(Builder.getContext());
}
Module *OMPGenerator::getModule() {
OpenPOWER on IntegriCloud