Skip to content

Commit

Permalink
[LoongArch][Clang] Add tests for llvm#110834 (llvm#114509)
Browse files Browse the repository at this point in the history
  • Loading branch information
xry111 authored and NoumanAmir657 committed Nov 4, 2024
1 parent d698f3d commit f8f0646
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions clang/test/Headers/lasxintrin.c
Original file line number Diff line number Diff line change
@@ -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>
6 changes: 6 additions & 0 deletions clang/test/Headers/lsxintrin.c
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit f8f0646

Please sign in to comment.