This is an archive of the discontinued LLVM Phabricator instance.

[Polly][DeLICM] Partial writes for PHIs.
ClosedPublic

Authored by Meinersbur on May 24 2017, 4:04 AM.

Details

Summary

Enable the use for partial writes for PHI write accesses with a switch. This simply skips the test for whether a PHI write would be partial.

The analog test for partial value writes also protects for partial reads which we do not support (yet). It is possible to test for partial reads separately such that we could skip the partial write check as well. In case this shows up to be useful, I can implement it as well.

Diff Detail

Repository
rL LLVM

Event Timeline

Meinersbur created this revision.May 24 2017, 4:04 AM
grosser accepted this revision.May 24 2017, 4:23 AM

This LGTM, in terms of implementation. So we can commit it to experiment with it. However, performance wise this seems to not work well. My gemm kernel regresses from 0.8 seconds in the optimal case (without pattern matching opts) to 4.4 seconds with partial writes.

This revision is now accepted and ready to land.May 24 2017, 4:23 AM
This revision was automatically updated to reflect the committed changes.