diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-05-29 00:37:45 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-05-29 00:37:45 +0000 |
commit | 35c5d30ad61cb07ddd4a63a7c7cde6a0a55c8d5b (patch) | |
tree | 1c83cfea7061c4084223cb1c814f7aed79c12161 /llvm | |
parent | 01c1cb050a528f48203dbec277182f0e027dc7b1 (diff) | |
download | bcm5719-llvm-35c5d30ad61cb07ddd4a63a7c7cde6a0a55c8d5b.tar.gz bcm5719-llvm-35c5d30ad61cb07ddd4a63a7c7cde6a0a55c8d5b.zip |
[SCEV] Remove unused function; NFC
Moreover, I've never seen globally scoped `static inline` functions
elsewhere in LLVM, so this pattern is unusual if not unidiomatic.
llvm-svn: 271155
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h b/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h index dfb25f44424..a658b808e90 100644 --- a/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h +++ b/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h @@ -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 |