Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / RISCV / rvv-intrinsics-handcrafted / vsm3c-out-of-range.c
bloba2238f01d2308426caafe31eb24a274e5073ea89
1 // REQUIRES: riscv-registered-target
2 // RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d \
3 // RUN: -target-feature +v -target-feature +zfh -target-feature +experimental-zvfh \
4 // RUN: -target-feature +experimental-zvksh -fsyntax-only -verify %s
6 #include <riscv_vector.h>
8 vuint32m2_t test_vsm3c_vi_u32m2(vuint32m2_t vd, vuint32m2_t vs2, size_t vl) {
9 // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}
10 return __riscv_vsm3c_vi_u32m2(vd, vs2, 33, vl);
13 vuint32m2_t test_vsm3c_vi_u32m2_tu(vuint32m2_t merge, vuint32m2_t vs2, size_t vl) {
14 // expected-error@+1 {{argument value 33 is outside the valid range [0, 31]}}
15 return __riscv_vsm3c_vi_u32m2_tu(merge, vs2, 33, vl);