[LoopVectorizer] Add support for chaining partial reductions (#120272)
[llvm-project.git] / clang / test / CodeGen / RISCV / rvv-intrinsics-handcrafted / vsm3c-out-of-range.c
blob988f8aaf98b599df5f32bba623489b3ecd7133f0
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 +zvfh \
4 // RUN: -target-feature +zvksh -target-feature +experimental -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);