Skip to content

Commit 96d2196

Browse files
authored
[LoongArch][Clang] Add tests for #110834 (#114509)
1 parent fb7bf7a commit 96d2196

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

clang/test/Headers/lasxintrin.c

Lines changed: 6 additions & 0 deletions
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

Lines changed: 6 additions & 0 deletions
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)