Skip to content

Commit 9039cd7

Browse files
xry111tru
authored andcommitted
[LoongArch][Clang] Add tests for llvm#110834 (llvm#114509)
(cherry picked from commit 96d2196)
1 parent a3f0f1d commit 9039cd7

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

clang/test/Headers/lasxintrin.c

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lasx
2+
// RUN: not %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lasx -flax-vector-conversions=none
3+
// RUN: not %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lasx -flax-vector-conversions=none -fno-signed-char
4+
// FIXME: "not" should be removed once we fix GH#110834.
5+
6+
#include <lasxintrin.h>

clang/test/Headers/lsxintrin.c

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lsx
2+
// RUN: not %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lsx -flax-vector-conversions=none
3+
// RUN: not %clang_cc1 %s -fsyntax-only -triple loongarch64 -target-feature +lsx -flax-vector-conversions=none -fno-signed-char
4+
// FIXME: "not" should be removed once we fix GH#110834.
5+
6+
#include <lsxintrin.h>

0 commit comments

Comments
 (0)