This is an archive of the discontinued LLVM Phabricator instance.

[Polly][ForwardOpTree] Support read-only value uses.
ClosedPublic

Authored by Meinersbur on Jul 22 2017, 9:34 AM.

Details

Summary

Read-only values (values defined before the SCoP) require special handing with -polly-analyze-read-only-scalars=true (which is the default). If active, each use of a value requires a read access. When a copied value uses a read-only value, we must also ensure that such a MemoryAccess is available or is created.

Diff Detail

Event Timeline

Meinersbur created this revision.Jul 22 2017, 9:34 AM
grosser accepted this revision.Jul 22 2017, 1:51 PM

LGTM. Thank you!

This revision is now accepted and ready to land.Jul 22 2017, 1:51 PM
This revision was automatically updated to reflect the committed changes.