aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorSander de Smalen <sander.desmalen@arm.com>2021-04-08 12:19:44 +0100
committerSander de Smalen <sander.desmalen@arm.com>2021-05-19 10:40:56 +0100
commit4f86aa650c40196754df22c421d551d129c9149a (patch)
tree653fa9e8f9d5afa0ce078b3ea08e98b37c846f3b /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent57d20cbf467fc69ebd575209d101f73ab4461e84 (diff)
downloadllvm-4f86aa650c40196754df22c421d551d129c9149a.zip
llvm-4f86aa650c40196754df22c421d551d129c9149a.tar.gz
llvm-4f86aa650c40196754df22c421d551d129c9149a.tar.bz2
[LV] Add -scalable-vectorization=<option> flag.
This patch adds a new option to the LoopVectorizer to control how scalable vectors can be used. Initially, this suggests three levels to control scalable vectorization, although other more aggressive options can be added in the future. The possible options are: - Disabled: Disables vectorization with scalable vectors. - Enabled: Vectorize loops using scalable vectors or fixed-width vectors, but favors fixed-width vectors when the cost is a tie. - Preferred: Like 'Enabled', but favoring scalable vectors when the cost-model is inconclusive. Reviewed By: paulwalker-arm, vkmr Differential Revision: https://reviews.llvm.org/D101945
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions