[PATCH] D148223: [SiFive][RISCV][clang] Support C intrinsics for xsfvcp extension.

Brandon Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 2 08:17:37 PDT 2023


4vtomat added a comment.

In D148223#4312460 <https://reviews.llvm.org/D148223#4312460>, @4vtomat wrote:

> Hi @craig.topper and @kito-cheng , the build error message was: 'Z:\test\llvm-project\clang\test\CodeGen\RISCV\rvv-intrinsics-autogenerated\non-policy\non-overloaded\xsfvcp-x-rv64.c:4:10: fatal error: 'riscv_vector.h' file not found'.
> Have you ever met this before? I'm not sure if I forgot to add something or not..

I found it, seems I have to add this in the beginning of the file: '// REQUIRES: riscv-registered-target' to prevent the test case run in other targets.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148223/new/

https://reviews.llvm.org/D148223



More information about the cfe-commits mailing list