[PATCH] D17945: [LoopDataPrefetch/Aarch64] Allow selective prefetching of large-strided accesses
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 15:57:08 PST 2016
anemet created this revision.
anemet added a reviewer: hfinkel.
anemet added a subscriber: llvm-commits.
Herald added subscribers: mzolotukhin, rengolin, aemerson.
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
http://reviews.llvm.org/D17945
Files:
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Analysis/TargetTransformInfoImpl.h
lib/Analysis/TargetTransformInfo.cpp
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
lib/Target/AArch64/AArch64TargetTransformInfo.h
lib/Transforms/Scalar/LoopDataPrefetch.cpp
test/Transforms/LoopDataPrefetch/AArch64/large-stride.ll
test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17945.50006.patch
Type: text/x-patch
Size: 8599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160307/74d993e6/attachment.bin>
More information about the llvm-commits
mailing list