[llvm] [C API] Add function to create constantRange attributes to C API (PR #90505)

Andreas Jonson via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 23:23:28 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
----------------
andjo403 wrote:

fixed

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


More information about the llvm-commits mailing list