[clang] [llvm] [Clang][LoongArch] Support target attribute for function (PR #140700)

2025-05-20 Thread Lu Weining via cfe-commits
@@ -0,0 +1,19 @@ +// RUN: %clang_cc1 -triple loongarch64-linux-gnu -fsyntax-only -verify %s + +// expected-error@+1 {{function multiversioning is not supported on the current target}} +void __attribute__((target("default"))) bar(void){} SixWeining wrote: ```sug

[clang] [llvm] [Clang][LoongArch] Support target attribute for function (PR #140700)

2025-05-20 Thread Lu Weining via cfe-commits
@@ -0,0 +1,19 @@ +// RUN: %clang_cc1 -triple loongarch64-linux-gnu -fsyntax-only -verify %s + +// expected-error@+1 {{function multiversioning is not supported on the current target}} +void __attribute__((target("default"))) bar(void){} + +// expected-error@+1 {{target(arch=..)

[clang] [llvm] [LoongArch] Add support for half-precision floating-point type (PR #141564)

2025-05-27 Thread Lu Weining via cfe-commits
SixWeining wrote: LLVM uses squash and merge. So please split it into 3 PRs if you do not want to squash them. https://github.com/llvm/llvm-project/pull/141564 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mail

[clang] [llvm] Reland "[Clang][LoongArch] Support target attribute for function" (PR #142546)

2025-06-03 Thread Lu Weining via cfe-commits
https://github.com/SixWeining approved this pull request. https://github.com/llvm/llvm-project/pull/142546 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [LoongArch] Fix '-mno-lsx' option not disabling LASX feature (PR #143821)

2025-06-12 Thread Lu Weining via cfe-commits
@@ -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=la4

[clang] [Clang][LoongArch] Fixed incorrect _BitInt(N>64) alignment (PR #145297)

2025-06-25 Thread Lu Weining via cfe-commits
@@ -0,0 +1,36 @@ +// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5 +// RUN: %clang_cc1 -triple loongarch64 -fexperimental-max-bitint-width=1024 -emit-llvm %s -o - | FileCheck %s SixWeining wrote: - It's better

[clang] [docs] Add clang release notes for LoongArch (PR #146481)

2025-07-01 Thread Lu Weining via cfe-commits
https://github.com/SixWeining approved this pull request. https://github.com/llvm/llvm-project/pull/146481 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][LoongArch] Fixed incorrect _BitInt(N>64) alignment (PR #145297)

2025-06-30 Thread Lu Weining via cfe-commits
https://github.com/SixWeining approved this pull request. LGTM. BTW, could you please mention this change in clang's release note? https://github.com/llvm/llvm-project/pull/145297 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.ll

<    1   2   3