[all-commits] [llvm/llvm-project] b35942: [Clang][LoongArch] Support target attribute for fu...
Ami-zhang via All-commits
all-commits at lists.llvm.org
Thu May 29 04:55:10 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b359422eebbc61f0e0fb03c27ec1a93c818701ee
https://github.com/llvm/llvm-project/commit/b359422eebbc61f0e0fb03c27ec1a93c818701ee
Author: Ami-zhang <zhanglimin at loongson.cn>
Date: 2025-05-29 (Thu, 29 May 2025)
Changed paths:
M clang/lib/Basic/Targets/LoongArch.cpp
M clang/lib/Basic/Targets/LoongArch.h
M clang/lib/Sema/SemaDeclAttr.cpp
A clang/test/CodeGen/LoongArch/targetattr.c
A clang/test/Sema/attr-target-loongarch.c
M llvm/include/llvm/TargetParser/LoongArchTargetParser.h
M llvm/lib/TargetParser/LoongArchTargetParser.cpp
Log Message:
-----------
[Clang][LoongArch] Support target attribute for function (#140700)
This adds support under LoongArch for the target("..") attributes.
The supported formats are:
- "arch=<arch>" strings, that specify the architecture features for a
function as per the -march=arch option.
- "tune=<cpu>" strings, that specify the tune-cpu cpu for a function as
per -mtune.
- "<feature>", "no-<feature>" enabled/disables the specific feature.
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