[NFC][AArch64] Explicitly define undefined bits for instructions (#122129)
[llvm-project.git] / clang / test / CodeGen / RISCV / rvb-intrinsics / riscv64-zbkb-error.c
bloba256bf75b031c6ddc13204bee185d5b087a4b03c
1 // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
2 // RUN: %clang_cc1 -triple riscv64 -target-feature +zbkb -S -verify %s -o -
4 #include <stdint.h>
6 uint32_t zip_unzip(uint32_t rs1)
8 (void)__builtin_riscv_zip_32(rs1); // expected-error {{'__builtin_riscv_zip_32' needs target feature zbkb,32bit}}
9 return __builtin_riscv_unzip_32(rs1); // expected-error {{'__builtin_riscv_unzip_32' needs target feature zbkb,32bit}}