diff options
author | Paul Walker <paul.walker@arm.com> | 2021-08-13 12:47:51 +0100 |
---|---|---|
committer | Paul Walker <paul.walker@arm.com> | 2021-08-15 12:15:52 +0100 |
commit | f7a831daa6742cd67d24d8190093239ae4ef8774 (patch) | |
tree | df4cb6981ea87399efc0bf0ad26859174fa12c47 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 81b106584f2baf33e09be2362c35c1bf2f6bfe94 (diff) | |
download | llvm-f7a831daa6742cd67d24d8190093239ae4ef8774.zip llvm-f7a831daa6742cd67d24d8190093239ae4ef8774.tar.gz llvm-f7a831daa6742cd67d24d8190093239ae4ef8774.tar.bz2 |
[LoopVectorize] Don't emit remarks about lack of scalable vectors unless they're specifically requested.
Previously we emitted a "does not support scalable vectors"
remark for all targets whenever vectorisation is attempted. This
pollutes the output for architectures that don't support scalable
vectors and is likely confusing to the user.
Instead this patch introduces a debug message that reports when
scalable vectorisation is allowed by the target and only issues
the previous remark when scalable vectorisation is specifically
requested, for example:
#pragma clang loop vectorize_width(2, scalable)
Differential Revision: https://reviews.llvm.org/D108028
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions