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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to