[all-commits] [llvm/llvm-project] da9ac4: [FMV] Allow mixing target_version with target_clon...
Alexandros Lamprineas via All-commits
all-commits at lists.llvm.org
Tue Mar 26 04:36:55 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: da9ac43433ace54b262cd8552a9fafac21186381
https://github.com/llvm/llvm-project/commit/da9ac43433ace54b262cd8552a9fafac21186381
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-03-26 (Tue, 26 Mar 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/lib/AST/ASTContext.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Sema/SemaDecl.cpp
A clang/test/CodeGen/aarch64-mixed-target-attributes.c
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGenCXX/attr-target-clones-aarch64.cpp
M clang/test/Sema/attr-target-clones-aarch64.c
Log Message:
-----------
[FMV] Allow mixing target_version with target_clones. (#86493)
The latest ACLE allows it and further clarifies the following
in regards to the combination of the two attributes:
"If the `default` matches with another explicitly provided
version in the same translation unit, then the compiler can
emit only one function instead of the two. The explicitly
provided version shall be preferred."
("default" refers to the default clone here)
https://github.com/ARM-software/acle/pull/310
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