Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGen / RISCV / rvb-intrinsics / riscv64-zbkb-error.c
blobd2e3e76043aef16304ff7ad0ad73709182d9a55c
1 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2 // RUN: %clang_cc1 -triple riscv64 -target-feature +zbkb -verify %s -o -
4 #include <stdint.h>
6 uint32_t zip(uint32_t rs1)
8 return __builtin_riscv_zip_32(rs1); // expected-error {{builtin requires: 'RV32'}}
11 uint32_t unzip(uint32_t rs1)
13 return __builtin_riscv_unzip_32(rs1); // expected-error {{builtin requires: 'RV32'}}