[polly] r229867 - Drop left over code from FinalRead statement removal.

Tobias Grosser tobias at grosser.es
Thu Feb 19 08:24:57 PST 2015


Author: grosser
Date: Thu Feb 19 10:24:57 2015
New Revision: 229867

URL: http://llvm.org/viewvc/llvm-project?rev=229867&view=rev
Log:
Drop left over code from FinalRead statement removal.

We removed FinalRead statements in r152319.

Modified:
    polly/trunk/lib/Analysis/ScopInfo.cpp

Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=229867&r1=229866&r2=229867&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Thu Feb 19 10:24:57 2015
@@ -1086,10 +1086,6 @@ std::string ScopStmt::getScatteringStr()
 unsigned ScopStmt::getNumParams() const { return Parent.getNumParams(); }
 
 unsigned ScopStmt::getNumIterators() const {
-  // The final read has one dimension with one element.
-  if (!BB)
-    return 1;
-
   return NestLoops.size();
 }
 





More information about the llvm-commits mailing list