[clang] [LoongArch] Fix '-mno-lsx' option not disabling LASX feature (PR #143821)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 12 00:52:38 PDT 2025
================
@@ -946,6 +946,8 @@
// RUN: | FileCheck --match-full-lines --check-prefix=MNO-LSX %s
// RUN: %clang --target=loongarch64 -mno-lasx -mno-lsx -x c -E -dM %s -o - \
// RUN: | FileCheck --match-full-lines --check-prefix=MNO-LSX %s
+// RUN: %clang --target=loongarch64 -march=la464 -mno-lsx -x c -E -dM %s -o - \
+// RUN: | FileCheck --match-full-lines --check-prefix=MNO-LSX %s
----------------
Ami-zhang wrote:
Ok, done.
https://github.com/llvm/llvm-project/pull/143821
More information about the cfe-commits
mailing list