HomePhabricator

[SCEV] SCEVPtrToIntExpr simplifications

Authored by lebedev.ri on Oct 29 2020, 11:12 PM.

Description

[SCEV] SCEVPtrToIntExpr simplifications

If we've got an SCEVPtrToIntExpr(op), where op is not an SCEVUnknown,
we want to sink the SCEVPtrToIntExpr into an operand,
so that the operation is performed on integers,
and eventually we end up with just an SCEVPtrToIntExpr(SCEVUnknown).

Reviewed By: mkazantsev

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

Details

Committed
lebedev.riOct 30 2020, 1:13 AM
Reviewer
mkazantsev
Differential Revision
D89692: [SCEV] SCEVPtrToIntExpr simplifications
Parents
rG81fc53a36a4e: [SCEV] Introduce SCEVPtrToIntExpr (PR46786)
Branches
Unknown
Tags
Unknown