[polly] r276444 - Remove unused parameters from simplifySCoP(). NFC.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 10:31:17 PDT 2016


Author: meinersbur
Date: Fri Jul 22 12:31:17 2016
New Revision: 276444

URL: http://llvm.org/viewvc/llvm-project?rev=276444&view=rev
Log:
Remove unused parameters from simplifySCoP(). NFC.

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=276444&r1=276443&r2=276444&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopInfo.h (original)
+++ polly/trunk/include/polly/ScopInfo.h Fri Jul 22 12:31:17 2016
@@ -1625,7 +1625,7 @@ private:
   __isl_give isl_set *addNonEmptyDomainConstraints(__isl_take isl_set *C) const;
 
   /// @brief Simplify the SCoP representation
-  void simplifySCoP(bool AfterHoisting, DominatorTree &DT, LoopInfo &LI);
+  void simplifySCoP(bool AfterHoisting);
 
   /// @brief Return the access for the base ptr of @p MA if any.
   MemoryAccess *lookupBasePtrAccess(MemoryAccess *MA);

Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=276444&r1=276443&r2=276444&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Fri Jul 22 12:31:17 2016
@@ -3058,7 +3058,7 @@ void Scop::init(AliasAnalysis &AA, Assum
 
   // Remove empty statements.
   // Exit early in case there are no executable statements left in this scop.
-  simplifySCoP(false, DT, LI);
+  simplifySCoP(false);
   if (Stmts.empty())
     return;
 
@@ -3090,7 +3090,7 @@ void Scop::init(AliasAnalysis &AA, Assum
 
   hoistInvariantLoads();
   verifyInvariantLoads();
-  simplifySCoP(true, DT, LI);
+  simplifySCoP(true);
 
   // Check late for a feasible runtime context because profitability did not
   // change.
@@ -3161,7 +3161,7 @@ void Scop::updateAccessDimensionality()
       Access->updateDimensionality();
 }
 
-void Scop::simplifySCoP(bool AfterHoisting, DominatorTree &DT, LoopInfo &LI) {
+void Scop::simplifySCoP(bool AfterHoisting) {
   for (auto StmtIt = Stmts.begin(), StmtEnd = Stmts.end(); StmtIt != StmtEnd;) {
     ScopStmt &Stmt = *StmtIt;
 




More information about the llvm-commits mailing list