[PATCH] D17949: [LoopDataPrefetch] Add TTI to limit the number of iterations to prefetch ahead

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 7 17:14:33 PST 2016


anemet created this revision.
anemet added a reviewer: hfinkel.
anemet added a subscriber: llvm-commits.
Herald added a subscriber: mzolotukhin.

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

http://reviews.llvm.org/D17949

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17949.50012.patch
Type: text/x-patch
Size: 5624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160308/557531a6/attachment.bin>


More information about the llvm-commits mailing list