[llvm] RuntimeLibcalls: Add function signatures to RTLIB. (PR #226264)

via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 11:47:37 PDT 2026


================
@@ -462,6 +503,37 @@ RuntimeLibcallsInfo::getFunctionTy(LLVMContext &Ctx, const Triple &TT,
     return {FunctionType::get(Type::getVoidTy(Ctx), ArgTys, false), Attrs};
----------------
sujianIBM wrote:

I think they are still useful.
This PR only adds function signatures for calloc, malloc and free (overlapping with the hand written cases). It can't replace the hand written cases, especially the attributes.

https://github.com/llvm/llvm-project/pull/226264


More information about the llvm-commits mailing list