diff options
author | Raghesh Aloor <raghesh.a@gmail.com> | 2012-01-13 06:02:13 +0000 |
---|---|---|
committer | Raghesh Aloor <raghesh.a@gmail.com> | 2012-01-13 06:02:13 +0000 |
commit | ea6c99c1d90603f6173bca7c9e69d75df9d43a0f (patch) | |
tree | 2dbf3a812653b6b8658e895e931aa3f15b3df37e | |
parent | ae3e9927a5854124c5f11dfb9443353157431268 (diff) | |
download | bcm5719-llvm-ea6c99c1d90603f6173bca7c9e69d75df9d43a0f.tar.gz bcm5719-llvm-ea6c99c1d90603f6173bca7c9e69d75df9d43a0f.zip |
Memaccess: Removing some unwanted code
llvm-svn: 148100
-rw-r--r-- | polly/lib/CodeGeneration.cpp | 5 |
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; } |