Skip to content

Commit 1bbbc1c

Browse files
committed
[LoongArch][Clang] Add tests for #110834
1 parent f16bff1 commit 1bbbc1c

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+
// REQUIRES: loongarch-registered-target
2+
// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64-linux -target-feature +lasx
3+
// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64-linux -target-feature +lasx -flax-vector-conversions=none
4+
// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64-linux -target-feature +lasx -flax-vector-conversions=none -fno-signed-char
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+
// REQUIRES: loongarch-registered-target
2+
// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64-linux -target-feature +lsx
3+
// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64-linux -target-feature +lsx -flax-vector-conversions=none
4+
// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64-linux -target-feature +lsx -flax-vector-conversions=none -fno-signed-char
5+
6+
#include <lsxintrin.h>

0 commit comments

Comments
 (0)