[all-commits] [llvm/llvm-project] 4e85e1: [Clang][AArch64] Warn when calling non/streaming a...
Dinar Temirbulatov via All-commits
all-commits at lists.llvm.org
Wed Apr 10 00:40:12 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e85e1ffcaf161736e27a24c291c1177be865976
https://github.com/llvm/llvm-project/commit/4e85e1ffcaf161736e27a24c291c1177be865976
Author: Dinar Temirbulatov <Dinar.Temirbulatov at arm.com>
Date: 2024-04-10 (Wed, 10 Apr 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Sema/aarch64-incompat-sm-builtin-calls.c
M clang/test/Sema/aarch64-sme-func-attrs.c
Log Message:
-----------
[Clang][AArch64] Warn when calling non/streaming about vector size difference (#79842)
The compiler doesn't know in advance if the streaming and non-streaming
vector-lengths are different, so it should be safe to give a warning
diagnostic to warn the user about possible undefined behaviour. If the
user knows the vector lengths are equal, they can disable the warning
separately.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list