[all-commits] [llvm/llvm-project] f658c1: Recommit "[RISCV][FMV] Support target_version" (#1...
Piyou Chen via All-commits
all-commits at lists.llvm.org
Tue Oct 8 01:27:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f658c1bf4a9d74518ff55a37184b76ec5dec9a8b
https://github.com/llvm/llvm-project/commit/f658c1bf4a9d74518ff55a37184b76ec5dec9a8b
Author: Piyou Chen <piyou.chen at sifive.com>
Date: 2024-10-08 (Tue, 08 Oct 2024)
Changed paths:
M clang/lib/AST/ASTContext.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
A clang/test/CodeGen/attr-target-version-riscv-invalid.c
A clang/test/CodeGen/attr-target-version-riscv.c
A clang/test/CodeGenCXX/attr-target-version-riscv.cpp
A clang/test/SemaCXX/attr-target-version-riscv.cpp
Log Message:
-----------
Recommit "[RISCV][FMV] Support target_version" (#111096)" (#111333)
Fix the buildbot failure caused by heap use-after-free error.
Origin message:
This patch enable `target_version` attribute for RISC-V target.
The proposal of `target_version` syntax can be found at the
https://github.com/riscv-non-isa/riscv-c-api-doc/pull/48 (which has
landed), as modified by the proposed
https://github.com/riscv-non-isa/riscv-c-api-doc/pull/85 (which adds the
priority syntax).
`target_version` attribute will trigger the function multi-versioning
feature and act like `target_clones` attribute. See
https://github.com/llvm/llvm-project/pull/85786 for the implementation
of `target_clones`.
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