[all-commits] [llvm/llvm-project] a1b6e7: [clang][LoongArch] Ensure `target("lasx")` implies...
Ami-zhang via All-commits
all-commits at lists.llvm.org
Thu Aug 14 18:53:30 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a1b6e7ff393533a5c4f3bdfd4efe5da106e2de2b
https://github.com/llvm/llvm-project/commit/a1b6e7ff393533a5c4f3bdfd4efe5da106e2de2b
Author: Ami-zhang <zhanglimin at loongson.cn>
Date: 2025-08-15 (Fri, 15 Aug 2025)
Changed paths:
M clang/lib/Basic/Targets/LoongArch.cpp
M clang/test/CodeGen/LoongArch/targetattr-lasx.c
Log Message:
-----------
[clang][LoongArch] Ensure `target("lasx")` implies LSX support (#153542)
Currently, `__attribute__((target("lasx")))` does not automatically
enable LSX support, causing Clang to fail with `-mno-lsx`. Since
LASX depends on LSX, enabling LASX should implicitly enable LSX to
avoid clang error.
Fixes #149512.
Depends on #153541
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