[all-commits] [llvm/llvm-project] 2ecbfc: [LoongArch] Fix '-mno-lsx' option not disabling LA...
Ami-zhang via All-commits
all-commits at lists.llvm.org
Thu Jun 12 05:11:35 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2ecbfc0beb42abbbd2c3d28bfd576b38c44a5b46
https://github.com/llvm/llvm-project/commit/2ecbfc0beb42abbbd2c3d28bfd576b38c44a5b46
Author: Ami-zhang <zhanglimin at loongson.cn>
Date: 2025-06-12 (Thu, 12 Jun 2025)
Changed paths:
M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
M clang/test/Preprocessor/init-loongarch.c
Log Message:
-----------
[LoongArch] Fix '-mno-lsx' option not disabling LASX feature (#143821)
When '-march' with LASX feature and '-mno-lsx' options are used
together, '-mno-lsx' fails to disable LASX, leaving
'HasFeatureLASX=true' and causing incorrect '__loongarch_sx/asx=1' macro
definition.
Fixes https://github.com/loongson-community/discussions/issues/95
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