Revert "[SCEV] Remove unused function; NFC"
This reverts commit r271155. The `apply` function is actually used by Polly. llvm-svn: 271167
This commit is contained in:
		
							parent
							
								
									b50a95d298
								
							
						
					
					
						commit
						746addd261
					
				| 
						 | 
				
			
			@ -680,6 +680,13 @@ 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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue