[polly] r249271 - [NFC] Remove unused classes

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 4 07:52:44 PDT 2015


Author: jdoerfert
Date: Sun Oct  4 09:52:43 2015
New Revision: 249271

URL: http://llvm.org/viewvc/llvm-project?rev=249271&view=rev
Log:
[NFC] Remove unused classes

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=249271&r1=249270&r2=249271&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopInfo.h (original)
+++ polly/trunk/include/polly/ScopInfo.h Sun Oct  4 09:52:43 2015
@@ -63,25 +63,6 @@ class MemoryAccess;
 class Scop;
 class ScopStmt;
 class ScopInfo;
-class Comparison;
-class SCEVAffFunc;
-
-class Comparison {
-  const SCEV *LHS;
-  const SCEV *RHS;
-
-  ICmpInst::Predicate Pred;
-
-public:
-  Comparison(const SCEV *LHS, const SCEV *RHS, ICmpInst::Predicate Pred)
-      : LHS(LHS), RHS(RHS), Pred(Pred) {}
-
-  const SCEV *getLHS() const { return LHS; }
-  const SCEV *getRHS() const { return RHS; }
-
-  ICmpInst::Predicate getPred() const { return Pred; }
-  void print(raw_ostream &OS) const;
-};
 
 //===---------------------------------------------------------------------===//
 

Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=249271&r1=249270&r2=249271&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Sun Oct  4 09:52:43 2015
@@ -93,11 +93,6 @@ static cl::opt<bool> DetectReductions("p
                                       cl::init(true), cl::cat(PollyCategory));
 
 //===----------------------------------------------------------------------===//
-/// Helper Classes
-
-void Comparison::print(raw_ostream &OS) const {
-  // Not yet implemented.
-}
 
 // Create a sequence of two schedules. Either argument may be null and is
 // interpreted as the empty schedule. Can also return null if both schedules are




More information about the llvm-commits mailing list