diff options
author | David Green <david.green@arm.com> | 2020-09-12 17:47:04 +0100 |
---|---|---|
committer | David Green <david.green@arm.com> | 2020-09-12 17:47:04 +0100 |
commit | 74760bb00fb9b78a2fe12242716bd6976b8c3566 (patch) | |
tree | 02d2fb2162b0fdc342ad5b89084b0e8c8d919106 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 8ce75e2778daf0492421fb524986756ef7e84b2b (diff) | |
download | llvm-74760bb00fb9b78a2fe12242716bd6976b8c3566.zip llvm-74760bb00fb9b78a2fe12242716bd6976b8c3566.tar.gz llvm-74760bb00fb9b78a2fe12242716bd6976b8c3566.tar.bz2 |
[LV][ARM] Add preferInloopReduction target hook.
This allows the backend to tell the vectorizer to produce inloop
reductions through a TTI hook.
For the moment on ARM under MVE this means allowing integer add
reductions of the correct size. In the future this can include integer
min/max too, under -Os.
Differential Revision: https://reviews.llvm.org/D75512
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions