[llvm] [llvm-c] Add support for setting/getting new disjoint flag on or instructions (PR #74517)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 01:35:10 PST 2023


================
@@ -3985,6 +3985,17 @@ LLVMBool LLVMGetNNeg(LLVMValueRef NonNegInst);
  */
 void LLVMSetNNeg(LLVMValueRef NonNegInst, LLVMBool IsNonNeg);
 
+/**
+ * Gets if the instruction has the disjoint flag set
+ * Only valid for or instructions
----------------
nikic wrote:

```suggestion
 * Gets whether the instruction has the disjoint flag set.
 * Only valid for or instructions.
```

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


More information about the llvm-commits mailing list