[llvm] [llvm-c] Create a 128 bit floating point constant from 2 64 bit values (PR #164381)

Joshua Cranmer via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 21 07:23:19 PDT 2025


================
@@ -2339,6 +2339,13 @@ LLVM_C_ABI LLVMValueRef LLVMConstRealOfStringAndSize(LLVMTypeRef RealTy,
                                                      const char *Text,
                                                      unsigned SLen);
 
+/**
+ * Obtain a constant for a floating point FP128 value from 2 64 bit values.
+ * (112 bit mantissa)
----------------
jcranmer-intel wrote:

The documentation should probably state the endianness of the values.

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


More information about the llvm-commits mailing list