[PATCH] D17943: [Aarch64] Add pass LoopDataPrefetch for Cyclone
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 15:28:50 PST 2016
anemet added inline comments.
================
Comment at: lib/Target/AArch64/AArch64TargetMachine.cpp:242-243
@@ -236,1 +241,4 @@
+ // Run this before LSR to remove the multiplies involved in computing the
+ // pointer values N iterations ahead.
+ if (TM->getOptLevel() != CodeGenOpt::None && EnableLoopDataPrefetch)
----------------
Will add a comment here saying that this is only enabled for Cyclone right now since it's the only subtarget that defines a non-zero getPrefetchDistance.
http://reviews.llvm.org/D17943
More information about the llvm-commits
mailing list