HomePhabricator

[SCEV] Generalize SCEVParameterRewriter to accept SCEV expression as target.

Authored by fhahn on Sep 18 2020, 1:50 AM.

Description

[SCEV] Generalize SCEVParameterRewriter to accept SCEV expression as target.

This patch extends SCEVParameterRewriter to support rewriting unknown
epxressions to arbitrary SCEV expressions. It will be used by further
patches.

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D67176

Details