kito-cheng abandoned this revision.
kito-cheng added a comment.
Herald added subscribers: alextsao1999, VincentWu, luke957,
achieveartificialintelligence.
Further development move to https://reviews.llvm.org/D111617
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://revi
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 t
kito-cheng updated this revision to Diff 349785.
kito-cheng added a comment.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Reupload.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103228/new/
https://reviews.llvm.org/D103228
kito-cheng updated this revision to Diff 349784.
kito-cheng added a comment.
Changes:
- Using less invasive way to add intrinsic functions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103228/new/
https://reviews.llvm.org/D103228
Files:
clang/
kito-cheng added inline comments.
Comment at: clang/lib/Sema/SemaRISCV.cpp:21
+ PP.getIdentifierTable(), PP.getLangOpts(), Builtin::RISCV_VECTOR_KIND);
+ Builtin::RegisterOverloadBuiltinFunc F = [](Sema &S, const Builtin::Info &BI,
+
craig.topper added inline comments.
Comment at: clang/lib/Sema/SemaRISCV.cpp:21
+ PP.getIdentifierTable(), PP.getLangOpts(), Builtin::RISCV_VECTOR_KIND);
+ Builtin::RegisterOverloadBuiltinFunc F = [](Sema &S, const Builtin::Info &BI,
+
kito-cheng updated this revision to Diff 348175.
kito-cheng added a comment.
Minor cleanup
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103228/new/
https://reviews.llvm.org/D103228
Files:
clang/include/clang/Basic/Builtins.h
clang/include/cla
kito-cheng created this revision.
Herald added subscribers: vkmr, frasercrmck, dexonsmith, evandro, luismarques,
apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o,
brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217,
niosHD, sabuasal, simoncook,