Hi all,
Can I define new builtin functions in clang/include/clang/Basic/Builtins/Builtins.h and insert them during a IR pass? Is it better to do it inside clang instead of at IR level? Thanks a lot.
Bin
Hi all,
Can I define new builtin functions in clang/include/clang/Basic/Builtins/Builtins.h and insert them during a IR pass? Is it better to do it inside clang instead of at IR level? Thanks a lot.
Bin
Please send questions like this to cfe-dev.
If you're modifying Clang anyway, I would just change Clang's IR generation to handle the new builtins.
John.