Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SCEV] Factor out common visiting patterns for SCEV rewriters. NFC.
Summary: Add a SCEVRewriteVisitor class which contains the common visiting patterns used when rewriting SCEVs. SCEVParameterRewriter and SCEVApplyRewriter now inherit from SCEVRewriteVisitor (and are therefore much simpler). Reviewers: anemet, mzolotukhin, sanjoy Subscribers: rengolin, llvm-commits, sanjoy Differential Revision: http://reviews.llvm.org/D13242 llvm-svn: 251283
- Loading branch information
1 parent
29932b0
commit 84d7a40
Showing
1 changed file
with
44 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters