This is an archive of the discontinued LLVM Phabricator instance.

[SCEV] Fix issues found during the review of r251283. NFC.
ClosedPublic

Authored by sbaranga on Oct 26 2015, 6:49 AM.

Details

Summary

Replace (const SCEVAddRecExpr *) with cast<SCEVAddRecExpr>.

Rename SCEVApplyRewriter to SCEVLoopAddRecRewriter (which is a more
appropriate name) since the description is "takes a scalar evolution
expression and applies the Map (Loop -> SCEV) to all AddRecExprs."

Diff Detail

Repository
rL LLVM

Event Timeline

sbaranga updated this revision to Diff 38413.Oct 26 2015, 6:49 AM
sbaranga retitled this revision from to [SCEV] Fix issues found during the review of r251283. NFC..
sbaranga updated this object.
sbaranga added subscribers: sanjoy, llvm-commits.
This revision was automatically updated to reflect the committed changes.