Revert multiple adress space changes in Polly
llvm-svn: 167234
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp
index 84eafd8..ae4cf9b 100644
--- a/polly/lib/CodeGen/CodeGeneration.cpp
+++ b/polly/lib/CodeGen/CodeGeneration.cpp
@@ -356,8 +356,7 @@
}
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 98d2751..4edd01d 100644
--- a/polly/lib/CodeGen/LoopGenerators.cpp
+++ b/polly/lib/CodeGen/LoopGenerators.cpp
@@ -180,8 +180,7 @@
}
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() {