This is an archive of the discontinued LLVM Phabricator instance.

[LoopDataPrefetch/Aarch64] Allow selective prefetching of large-strided accesses
ClosedPublic

Authored by anemet on Mar 7 2016, 3:57 PM.

Details

Summary

And use this TTI for Cyclone. As it was explained in the original RFC
(http://thread.gmane.org/gmane.comp.compilers.llvm.devel/92758), the HW
prefetcher work up to 2KB strides.

I am also adding tests for this and the previous change (D17943):

  • Cyclone prefetching accesses with a large stride
  • Cyclone not prefetching accesses with a small stride
  • Generic Aarch64 subtarget not prefetching either

Diff Detail

Repository
rL LLVM

Event Timeline

anemet updated this revision to Diff 50006.Mar 7 2016, 3:57 PM
anemet retitled this revision from to [LoopDataPrefetch/Aarch64] Allow selective prefetching of large-strided accesses.
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:44 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:44 AM
This revision was automatically updated to reflect the committed changes.