Remove unused parameters from simplifySCoP(). NFC.
authorMichael Kruse <llvm@meinersbur.de>
Fri, 22 Jul 2016 17:31:17 +0000 (17:31 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Fri, 22 Jul 2016 17:31:17 +0000 (17:31 +0000)
llvm-svn: 276444

polly/include/polly/ScopInfo.h
polly/lib/Analysis/ScopInfo.cpp

index aecab88..f3680a4 100644 (file)
@@ -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);
index 35779b2..04d6cad 100644 (file)
@@ -3058,7 +3058,7 @@ void Scop::init(AliasAnalysis &AA, AssumptionCache &AC, DominatorTree &DT,
 
   // 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, AssumptionCache &AC, DominatorTree &DT,
 
   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;