llvm-for-llvmta/tools/clang/test/Parser/p10-vector-bool-128.c

13 lines
566 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -triple=powerpc64-unknown-linux-gnu -target-cpu pwr10 \
// RUN: -target-feature +vsx -target-feature +power10-vector \
// RUN: -fsyntax-only -verify %s
// RUN: %clang_cc1 -triple=powerpc64le-unknown-linux-gnu -target-cpu pwr10 \
// RUN: -target-feature +power10-vector -fsyntax-only -verify %s
// expected-no-diagnostics
// Test legitimate uses of 'vector bool __int128' with VSX.
__vector bool __int128 v1_bi128;
__vector __bool __int128 v2_bi128;
vector bool __int128 v3_bi128;
vector __bool __int128 v4_bi128;