[llvm] [LLVM] Add `LLVMIntrinsicCopyName` to LLVM C API (PR #112197)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 30 17:00:39 PDT 2024


================
@@ -2478,28 +2478,32 @@ const char *LLVMIntrinsicGetName(unsigned ID, size_t *NameLength) {
   return Str.data();
 }
 
+char *LLVMIntrinsicCopyName(unsigned ID, size_t *NameLength) {
----------------
jurahul wrote:

This is the new API that @nhaehnle proposed on the discourse thread

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


More information about the llvm-commits mailing list