[llvm] r271178 - [SCEV] Remove the singleton `apply` function (re-apply r271155)

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Sun May 29 00:53:27 PDT 2016


Author: sanjoy
Date: Sun May 29 02:53:21 2016
New Revision: 271178

URL: http://llvm.org/viewvc/llvm-project?rev=271178&view=rev
Log:
[SCEV] Remove the singleton `apply` function (re-apply r271155)

Polly has been updated in r271177 to not use it.

Modified:
    llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h

Modified: llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h?rev=271178&r1=271177&r2=271178&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h Sun May 29 02:53:21 2016
@@ -680,13 +680,6 @@ namespace llvm {
   private:
     LoopToScevMapT ⤅
   };
-
-/// Applies the Map (Loop -> SCEV) to the given Scev.
-static inline const SCEV *apply(const SCEV *Scev, LoopToScevMapT &Map,
-                                ScalarEvolution &SE) {
-  return SCEVLoopAddRecRewriter::rewrite(Scev, Map, SE);
-}
-
 }
 
 #endif




More information about the llvm-commits mailing list