aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSander de Smalen <sander.desmalen@arm.com>2024-06-24 11:06:16 +0100
committerGitHub <noreply@github.com>2024-06-24 11:06:16 +0100
commit738533c84aeb56fff94b19c71714f54ae91c3670 (patch)
tree43c04f7eb70d28519316ea52a339a8d7822afb1a /clang/lib/CodeGen/CodeGenModule.cpp
parentdfbfb6c5c6dba8a25c7a9769e969d56ba19fc14d (diff)
downloadllvm-738533c84aeb56fff94b19c71714f54ae91c3670.zip
llvm-738533c84aeb56fff94b19c71714f54ae91c3670.tar.gz
llvm-738533c84aeb56fff94b19c71714f54ae91c3670.tar.bz2
[AArch64] Consider streaming mode in TTI interfaces for vectorization. (#96305)
At the moment, vectorization is only enabled in streaming(-compatible) mode when enabled through an option. But the interfaces should check more than just 'hasSVE()', because a function with +sme in streaming mode should also vectorize with the option enabled. Additionally, a streaming-compatible function should only be able to use fixed-length autovec if SVE is available, otherwise the vector code will be scalarised by the backend.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions