aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>2020-12-10 01:56:45 +0100
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>2020-12-11 18:06:07 -0600
commit0c2d23933f06ed048191f84ecde889e9da93609c (patch)
tree7398058829ff7c1b7637b99fc2f1153f12d3df6e /clang/unittests/Frontend/CompilerInvocationTest.cpp
parent7c8072ce2dbcf76a4fcc4269b87dd313c95a526a (diff)
downloadllvm-0c2d23933f06ed048191f84ecde889e9da93609c.zip
llvm-0c2d23933f06ed048191f84ecde889e9da93609c.tar.gz
llvm-0c2d23933f06ed048191f84ecde889e9da93609c.tar.bz2
[SystemZTTIImpl] Allow some non-prefetched accesses in getMinPrefetchStride().
The performance improvement on LBM previously achieved with improved software prefetching (36d4421) have gone lost recently with e00f189. There now is one memory access in the loop that LoopDataPrefetch cannot handle (while before there was none) which the heuristic rejects. This patch adds a small margin by allowing 1 non-prefetched memory access for every 32 prefetched ones, so that the heuristic doesn't bail in this type of case. Review: Ulrich Weigand Differential Revision: https://reviews.llvm.org/D92985
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions