It can hurt performance to prefetch ahead too much. Be conservative for
now and don't prefetch ahead more than 3 iterations on Cyclone.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D17949
[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
Diff Detail Event TimelineThis revision is now accepted and ready to land.Mar 9 2016, 7:45 AM Closed by commit rL263772: [LoopDataPrefetch] Add TTI to limit the number of iterations to prefetch ahead (authored by anemet). · Explain WhyMar 17 2016, 5:32 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 50012 include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Analysis/TargetTransformInfoImpl.h
lib/Analysis/TargetTransformInfo.cpp
lib/Target/AArch64/AArch64TargetTransformInfo.h
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
lib/Transforms/Scalar/LoopDataPrefetch.cpp
test/Transforms/LoopDataPrefetch/AArch64/large-stride.ll
|