kito-cheng planned changes to this revision.
kito-cheng added a comment.

Update:

Send RFC[1] to cfe-dev list, and got useful feedback from OpenCL:

- OpenCL's way is the fastest way to declare builtin, since it defer until 
symbol look-up, however that require re-implement vector intrinsic with their 
new intrinsic infrastructure.
- OpenCL folks agree we (RISC-V) need some way to enable that like pragma, 
OpenCL are default enabled all built-in function, but RVV intrinsic are only 
need to import until `riscv_vector.h` included.

So my next step is investigate the OpenCL's intrinsic infrastructure to get the 
best performance to declare bunch of intrinsic function, it might take several 
weeks.
and #pragma is still required.

[1] https://lists.llvm.org/pipermail/cfe-dev/2021-June/068340.html


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103228

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

Reply via email to