diff options
author | Mats Petersson <mats.petersson@arm.com> | 2023-10-05 11:06:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 11:06:00 +0100 |
commit | 6180964a01f67ed322da4ba2b2a3e6cc6c2cc760 (patch) | |
tree | 49001fe09b89e01f42d3524102be0ab65bf52ba2 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 5979e1dfb129583c5c2d7b6309de7ffabf0767f3 (diff) | |
download | llvm-6180964a01f67ed322da4ba2b2a3e6cc6c2cc760.zip llvm-6180964a01f67ed322da4ba2b2a3e6cc6c2cc760.tar.gz llvm-6180964a01f67ed322da4ba2b2a3e6cc6c2cc760.tar.bz2 |
[flang]Pass to add vscale range attribute (#68103)
Add vscale range attirbute for the Scalable Vector Extension (SVE) if
provided on the command-line (options in a previous commit)
If no command-line option is provided, if the target-feature of SVE is
specified and the architecture is AArch64, it defualts to 128-2048. in
other words a vscale-min of 1, vscale-max of 16.
A pass is used to add the atribute to all functions. The vectorizer will
use this attribute to generate the SVE instruction to match the range
specified. The attribute is harmless if there is no vectorizable
operations in the function.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions