[llvm] [C API] Add function to create constantRange attributes to C API (PR #90505)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu May 2 18:48:16 PDT 2024
================
@@ -673,6 +673,18 @@ LLVMAttributeRef LLVMCreateTypeAttribute(LLVMContextRef C, unsigned KindID,
*/
LLVMTypeRef LLVMGetTypeAttributeValue(LLVMAttributeRef A);
+/**
+ * Create a ConstantRange attribute.
+ *
+ * LowerWords and UpperWords needs to be NumBits divided by 64 rounded up
----------------
nikic wrote:
```suggestion
* LowerWords and UpperWords need to be NumBits divided by 64 rounded up
```
https://github.com/llvm/llvm-project/pull/90505
More information about the llvm-commits
mailing list