[llvm-commits] [polly] r153840 - /polly/trunk/lib/CodeGen/CodeGeneration.cpp
Tobias Grosser
grosser at fim.uni-passau.de
Sun Apr 1 09:55:30 PDT 2012
Author: grosser
Date: Sun Apr 1 11:55:30 2012
New Revision: 153840
URL: http://llvm.org/viewvc/llvm-project?rev=153840&view=rev
Log:
CodeGen: Remove unused variable
Modified:
polly/trunk/lib/CodeGen/CodeGeneration.cpp
Modified: polly/trunk/lib/CodeGen/CodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/CodeGeneration.cpp?rev=153840&r1=153839&r2=153840&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/CodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/CodeGeneration.cpp Sun Apr 1 11:55:30 2012
@@ -240,8 +240,8 @@
/// @brief Get the new operand address according to the changed access in
/// JSCOP file.
Value *getNewAccessOperand(__isl_keep isl_map *NewAccessRelation,
- Value *BaseAddress, const Value *OldOperand,
- ValueMapT &BBMap, ValueMapT &GlobalMap);
+ Value *BaseAddress, ValueMapT &BBMap,
+ ValueMapT &GlobalMap);
/// @brief Generate the operand address
Value *generateLocationAccessed(const Instruction *Inst,
@@ -372,8 +372,8 @@
}
Value *BlockGenerator::getNewAccessOperand(
- __isl_keep isl_map *NewAccessRelation, Value *BaseAddress, const Value
- *OldOperand, ValueMapT &BBMap, ValueMapT &GlobalMap) {
+ __isl_keep isl_map *NewAccessRelation, Value *BaseAddress,
+ ValueMapT &BBMap, ValueMapT &GlobalMap) {
std::vector<Value*> IndexArray = getMemoryAccessIndex(NewAccessRelation,
BaseAddress,
BBMap, GlobalMap);
@@ -399,7 +399,7 @@
NewPointer = getNewValue(Pointer, BBMap, GlobalMap);
} else {
Value *BaseAddress = const_cast<Value*>(Access.getBaseAddr());
- NewPointer = getNewAccessOperand(NewAccessRelation, BaseAddress, Pointer,
+ NewPointer = getNewAccessOperand(NewAccessRelation, BaseAddress,
BBMap, GlobalMap);
}
More information about the llvm-commits
mailing list