This is an archive of the discontinued LLVM Phabricator instance.

[LoopDataPrefetch] Add TTI to limit the number of iterations to prefetch ahead
ClosedPublic

Authored by anemet on Mar 7 2016, 5:14 PM.

Details

Summary

It can hurt performance to prefetch ahead too much. Be conservative for
now and don't prefetch ahead more than 3 iterations on Cyclone.

Diff Detail

Event Timeline

anemet updated this revision to Diff 50012.Mar 7 2016, 5:14 PM
anemet retitled this revision from to [LoopDataPrefetch] Add TTI to limit the number of iterations to prefetch ahead.
anemet updated this object.
anemet added a reviewer: hfinkel.
anemet added a subscriber: llvm-commits.
t.p.northover accepted this revision.Mar 9 2016, 7:45 AM
t.p.northover added a reviewer: t.p.northover.
t.p.northover added a subscriber: t.p.northover.

This looks reasonable to me.

Tim.

This revision is now accepted and ready to land.Mar 9 2016, 7:45 AM
This revision was automatically updated to reflect the committed changes.