[all-commits] [llvm/llvm-project] 334e07: [RISCV] Disallow target attribute use in multivers...
Piyou Chen via All-commits
all-commits at lists.llvm.org
Thu Apr 11 20:43:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 334e07f18e6f2fbc84579f7cac3cdd29d0d7cce0
https://github.com/llvm/llvm-project/commit/334e07f18e6f2fbc84579f7cac3cdd29d0d7cce0
Author: Piyou Chen <piyou.chen at sifive.com>
Date: 2024-04-12 (Fri, 12 Apr 2024)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
A clang/test/Sema/attr-target-riscv.c
Log Message:
-----------
[RISCV] Disallow target attribute use in multiversioning (#85899)
For RISC-V target only `target_clones` and `target_version` can enable
function multiversion(FMV).
This patch make target attribute trigger redefinition instead of emit
FMV.
Here is spec
https://github.com/riscv-non-isa/riscv-c-api-doc/blob/master/riscv-c-api.md#__attribute__targetattr-string
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