[Aarch64] Add pass LoopDataPrefetch for Cyclone
authorAdam Nemet <anemet@apple.com>
Fri, 18 Mar 2016 00:27:29 +0000 (00:27 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 18 Mar 2016 00:27:29 +0000 (00:27 +0000)
commit53e758fc55687de06d905d34e7cb58a9560093d2
tree5be94538a41fd6dd0f75ff178a9f96c6e1e84e5b
parent945761b8c29f9cc36372b6485720656371c736bc
[Aarch64] Add pass LoopDataPrefetch for Cyclone

Summary:
This wires up the pass for Cyclone but keeps it off for now because we
need a few more TTIs.

The getPrefetchMinStride value is not very well tuned right now but it
works well with CFP2006/433.milc which motivated this.

Tests will be added as part of the upcoming large-stride prefetching
patch.

Reviewers: t.p.northover

Subscribers: llvm-commits, aemerson, hfinkel, rengolin

Differential Revision: http://reviews.llvm.org/D17943

llvm-svn: 263770
llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h