diff options
author | Ami-zhang <zhanglimin@loongson.cn> | 2025-06-12 20:11:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-12 20:11:14 +0800 |
commit | 2ecbfc0beb42abbbd2c3d28bfd576b38c44a5b46 (patch) | |
tree | 9874053a7b5ccd62c5e7856ef4626968d1211c10 /llvm/lib/CodeGen | |
parent | 9f542f14701cdf70023790b206273ae8174e913a (diff) | |
download | llvm-2ecbfc0beb42abbbd2c3d28bfd576b38c44a5b46.zip llvm-2ecbfc0beb42abbbd2c3d28bfd576b38c44a5b46.tar.gz llvm-2ecbfc0beb42abbbd2c3d28bfd576b38c44a5b46.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions