Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / RISCV / rvv-intrinsics-handcrafted / xsfvcp.cpp
blobd6dce4f020332309d72e4796993a2450c734f985
1 // REQUIRES: riscv-registered-target
2 // RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d \
3 // RUN: -target-feature +v \
4 // RUN: -target-feature +xsfvcp \
5 // RUN: -fsyntax-only -verify %s
6 // expected-no-diagnostics
8 #include <sifive_vector.h>
10 #define p27_26 (0b11)
11 #define p11_7 (0b11111)
13 void test_sf_vc_xv_se_u64m1(vuint64m1_t vs2, uint64_t rs1, size_t vl) {
14 __riscv_sf_vc_xv_se_u64m1(p27_26, p11_7, vs2, rs1, vl);