This is an archive of the discontinued LLVM Phabricator instance.

[ScalarEvolution] refactor: extract interface getGEPExpr
ClosedPublic

Authored by jingyue on May 14 2015, 6:55 PM.

Details

Summary

This allows other passes (such as SLSR) to compute the SCEV expression for an
imaginary GEP.

Diff Detail

Event Timeline

jingyue updated this revision to Diff 25837.May 14 2015, 6:55 PM
jingyue retitled this revision from to [ScalarEvolution] refactor: extract interface getGEPExpr.
jingyue updated this object.
jingyue edited the test plan for this revision. (Show Details)
jingyue added reviewers: atrick, sanjoy.
jingyue added a subscriber: Unknown Object (MLST).
sanjoy accepted this revision.May 17 2015, 10:37 PM
sanjoy edited edge metadata.

LGTM.

This revision is now accepted and ready to land.May 17 2015, 10:37 PM
jingyue updated this revision to Diff 25946.May 17 2015, 11:21 PM
jingyue edited edge metadata.

To be consistent with other GEP interfaces, getGEPExpr takes the pointee type
instead of the base type.

jingyue closed this revision.May 18 2015, 10:07 AM