summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/lib/CodeGeneration.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/polly/lib/CodeGeneration.cpp b/polly/lib/CodeGeneration.cpp
index 50eaa680c8e..d586a99370a 100644
--- a/polly/lib/CodeGeneration.cpp
+++ b/polly/lib/CodeGeneration.cpp
@@ -377,9 +377,6 @@ public:
/// @brief Get the memory access offset to be added to the base address
std::vector <Value*> getMemoryAccessIndex(__isl_keep isl_map *AccessRelation,
Value *BaseAddress) {
- isl_int OffsetMPZ;
- isl_int_init(OffsetMPZ);
-
assert((isl_map_dim(AccessRelation, isl_dim_out) == 1)
&& "Only single dimensional access functions supported");
@@ -396,8 +393,6 @@ public:
Value *NullValue = Constant::getNullValue(ArrayElementType);
IndexArray.push_back(NullValue);
IndexArray.push_back(OffsetValue);
-
- isl_int_clear(OffsetMPZ);
return IndexArray;
}
OpenPOWER on IntegriCloud