Memaccess: Removing some unwanted code

llvm-svn: 148100
This commit is contained in:
Raghesh Aloor 2012-01-13 06:02:13 +00:00
parent ae3e9927a5
commit ea6c99c1d9
1 changed files with 0 additions and 5 deletions

View File

@ -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;
}