Author: Xi Ruoyao Date: 2024-11-15T09:21:06+01:00 New Revision: 76ca2e0566c8589c0b4f91faea5ce6ed3536a384
URL: https://github.com/llvm/llvm-project/commit/76ca2e0566c8589c0b4f91faea5ce6ed3536a384 DIFF: https://github.com/llvm/llvm-project/commit/76ca2e0566c8589c0b4f91faea5ce6ed3536a384.diff LOG: [LoongArch][Clang] Add tests for #110834 (#114509) (cherry picked from commit 96d2196f6f73e5712f1df8cd26de8a12c7f24de4) Added: clang/test/Headers/lasxintrin.c clang/test/Headers/lsxintrin.c Modified: Removed: ################################################################################ diff --git a/clang/test/Headers/lasxintrin.c b/clang/test/Headers/lasxintrin.c new file mode 100644 index 00000000000000..6126c6350455c1 --- /dev/null +++ b/clang/test/Headers/lasxintrin.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lasx +// RUN: not %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lasx -flax-vector-conversions=none +// RUN: not %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lasx -flax-vector-conversions=none -fno-signed-char +// FIXME: "not" should be removed once we fix GH#110834. + +#include <lasxintrin.h> diff --git a/clang/test/Headers/lsxintrin.c b/clang/test/Headers/lsxintrin.c new file mode 100644 index 00000000000000..930d3efe62e543 --- /dev/null +++ b/clang/test/Headers/lsxintrin.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lsx +// RUN: not %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lsx -flax-vector-conversions=none +// RUN: not %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lsx -flax-vector-conversions=none -fno-signed-char +// FIXME: "not" should be removed once we fix GH#110834. + +#include <lsxintrin.h> _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits