HsiangKai added a comment.

In D112020#3074557 <https://reviews.llvm.org/D112020#3074557>, @HsiangKai wrote:

> After preprocessing, macro definitions will disappear, but function 
> declarations will not. This is the benefit of using macro.
>
> After applying D112102 <https://reviews.llvm.org/D112102>, we could still use
>
>   #define vadd_vv_i8m1(op0, op1, op2) \
>   __builtin_rvv_vadd_vv((vint8m1_t)(op0), (vint8m1_t)(op1), (size_t)(op2))

Sorry for the disturbing. After removing type string in the builtin 
definitions, we need a function declaration in the header. Macro doesn't work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112020

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

Reply via email to