[llvm-dev] LLVM C api changes

via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 23 12:26:25 PDT 2021


> For https://reviews.llvm.org/D99173 I need to introduce an extra
> 'LLVMModuleRef' argument to 'LLVMIntrinsicCopyOverloadedName',
> so that we correctly handle intrinsics with arguments based on
> unnamed types.
> 
> Can this be done ? Or is it recommended to add a
> 'LLVMIntrinsicCopeOverloadedName2' with the extra argument ?
> And keep the original one for backwards compatibility ?

The C API has a strict backward compatibility rule; you will need
to add a new function that has the additional parameter.

--paulr



More information about the llvm-dev mailing list