This is an archive of the discontinued LLVM Phabricator instance.

[DA] Delinearise AddRecs if we can prove they don't wrap
ClosedPublic

Authored by dmgreen on Jun 22 2018, 6:39 AM.

Details

Summary

We can prove that some delinearized subscripts do not wrap around to become
negative by the fact that they are from inbound geps of load/store locations.
This helps improve the delinearisation in cases where we can't prove that they
are non-negative from SCEV alone.

Diff Detail

Repository
rL LLVM

Event Timeline

dmgreen created this revision.Jun 22 2018, 6:39 AM
sebpop accepted this revision.Jun 25 2018, 6:53 AM

Looks good, please commit. Thanks!

This revision is now accepted and ready to land.Jun 25 2018, 6:53 AM
This revision was automatically updated to reflect the committed changes.