summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen
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
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')
-rw-r--r--polly/lib/CodeGen/CodeGeneration.cpp3
-rw-r--r--polly/lib/CodeGen/LoopGenerators.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp
index 84eafd844dc..ae4cf9b5e75 100644
--- a/polly/lib/CodeGen/CodeGeneration.cpp
+++ b/polly/lib/CodeGen/CodeGeneration.cpp
@@ -356,8 +356,7 @@ private:
}
IntegerType *ClastStmtCodeGen::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());
}
const std::vector<std::string> &ClastStmtCodeGen::getParallelLoops() {
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