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).
Paths
| Differential D13242
[SCEV] Factor out common visiting patterns for SCEV rewriters. NFC. ClosedPublic Authored by sbaranga on Sep 29 2015, 7:11 AM.
Details Summary Add a SCEVRewriteVisitor class which contains the common SCEVParameterRewriter and SCEVApplyRewriter now inherit
Diff Detail Event TimelineComment Actions Add casts to work around the lack of virtual methods. Comment Actions lgtm with comments addressed (addressing them in a separate change is fine).
This revision is now accepted and ready to land.Oct 23 2015, 11:05 AM sbaranga edited edge metadata. Comment ActionsUpdate the header comment for the SCEVRewriteVisitor class to match current style. Comment Actions Thanks! Committed in r251283. I'll fix the other issues with a follow-up patch. -Silviu
Revision Contents
Diff 35984 include/llvm/Analysis/ScalarEvolutionExpressions.h
|
We're moving away from Entity Name - description style comments.