aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorKerry McLaughlin <kerry.mclaughlin@arm.com>2021-03-25 13:37:02 +0000
committerKerry McLaughlin <kerry.mclaughlin@arm.com>2021-03-25 14:10:21 +0000
commit1f4649969062fd2b43dcc09c79eb977c83749caa (patch)
tree6842ebc8eb6e552b0442578b61a118157b6828b1 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent96a4167b4c7e7e43d11b98f30bed84e4a626281a (diff)
downloadllvm-1f4649969062fd2b43dcc09c79eb977c83749caa.zip
llvm-1f4649969062fd2b43dcc09c79eb977c83749caa.tar.gz
llvm-1f4649969062fd2b43dcc09c79eb977c83749caa.tar.bz2
[SVE][LoopVectorize] Verify support for vectorizing loops with invariant loads
D95598 added a cost model for broadcast shuffle, which should enable loops such as the following to vectorize, where the load of b[42] is invariant and can be done using a scalar load + splat: for (int i=0; i<n; ++i) a[i] = b[i] + b[42]; This patch adds tests to verify that we can vectorize such loops. Reviewed By: joechrisellis Differential Revision: https://reviews.llvm.org/D98506
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions