[polly] r221016 - [Refactor][NFC] Remove unused argument.
Johannes Doerfert
doerfert at cs.uni-saarland.de
Fri Oct 31 16:16:03 PDT 2014
Author: jdoerfert
Date: Fri Oct 31 18:16:02 2014
New Revision: 221016
URL: http://llvm.org/viewvc/llvm-project?rev=221016&view=rev
Log:
[Refactor][NFC] Remove unused argument.
Modified:
polly/trunk/include/polly/ScopInfo.h
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/include/polly/ScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopInfo.h?rev=221016&r1=221015&r2=221016&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopInfo.h (original)
+++ polly/trunk/include/polly/ScopInfo.h Fri Oct 31 18:16:02 2014
@@ -444,7 +444,7 @@ class ScopStmt {
TempScop &tempScop);
__isl_give isl_set *buildDomain(TempScop &tempScop, const Region &CurRegion);
void buildScattering(SmallVectorImpl<unsigned> &Scatter);
- void buildAccesses(TempScop &tempScop, const Region &CurRegion);
+ void buildAccesses(TempScop &tempScop);
/// @brief Detect and mark reductions in the ScopStmt
void checkForReductions();
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=221016&r1=221015&r2=221016&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Fri Oct 31 18:16:02 2014
@@ -723,7 +723,7 @@ void ScopStmt::buildScattering(SmallVect
Scattering = isl_map_align_params(Scattering, Parent.getParamSpace());
}
-void ScopStmt::buildAccesses(TempScop &tempScop, const Region &CurRegion) {
+void ScopStmt::buildAccesses(TempScop &tempScop) {
for (const auto &AccessPair : *tempScop.getAccessFunctions(BB)) {
const IRAccess &Access = AccessPair.first;
Instruction *AccessInst = AccessPair.second;
@@ -867,7 +867,7 @@ ScopStmt::ScopStmt(Scop &parent, TempSco
Domain = buildDomain(tempScop, CurRegion);
buildScattering(Scatter);
- buildAccesses(tempScop, CurRegion);
+ buildAccesses(tempScop);
checkForReductions();
}
More information about the llvm-commits
mailing list