aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2020-09-12 17:47:04 +0100
committerDavid Green <david.green@arm.com>2020-09-12 17:47:04 +0100
commit74760bb00fb9b78a2fe12242716bd6976b8c3566 (patch)
tree02d2fb2162b0fdc342ad5b89084b0e8c8d919106 /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent8ce75e2778daf0492421fb524986756ef7e84b2b (diff)
downloadllvm-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