[llvm] [LLVM-C] Support operand bundles (PR #73914)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 7 08:14:40 PST 2023
================
@@ -3451,6 +3528,38 @@ LLVMTypeRef LLVMGetCalledFunctionType(LLVMValueRef C);
*/
LLVMValueRef LLVMGetCalledValue(LLVMValueRef Instr);
+/**
+ * Obtain the number of operand bundles attached to this instruction.
+ *
+ * This only works on llvm::CallInst and llvm::InvokeInst instructions.
+ *
+ * @see llvm::CallInst::getNumOperandBundles()
+ * @see llvm::InvokeInst::getNumOperandBundles()
----------------
nikic wrote:
```suggestion
* @see llvm::CallBase::getNumOperandBundles()
```
https://github.com/llvm/llvm-project/pull/73914
More information about the llvm-commits
mailing list