[llvm] [LLVM] Add a C API for creating instructions with custom syncscopes. (PR #104775)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 01:17:20 PDT 2024


================
@@ -163,6 +163,15 @@ Changes to the C API
 * It is now also possible to run the new pass manager on a single function, by calling
   ``LLVMRunPassesOnFunction`` instead of ``LLVMRunPasses``.
 
+* Support for creating instructions with custom synchronization scopes has been added:
+
+  * ``LLVMGetSyncScopeID`` to map a synchronization scope name to an ID
----------------
nikic wrote:

```suggestion
  * ``LLVMGetSyncScopeID`` to map a synchronization scope name to an ID.
```

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


More information about the llvm-commits mailing list