[PATCH] D99741: [RISCV][Clang] Add some RVV Floating-Point intrinsic functions. (vfclass, vfmerge, vfrec7, vfrsqrt7, vfsqrt)

Zakk Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 15 00:05:30 PDT 2021


khchen added a comment.

> The fact that we're running the optimization pipeline in these tests might be to blame. Might also be that riscv_vector.h is currently about 71000 lines which probably isn't quick to parse.

I found removing all overloaded api definition functions in `riscv_vector.h` could save the time more than 100%  (run llvm-lit with one file `vloxei.c`, cost `3.57s`-> `1.56s`) 
I'm not sure how to improve the `riscv_vector.h`, is it possible to generate a PCH for `riscv_vector.h`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99741



More information about the cfe-commits mailing list