diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-11-08 11:32:34 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-11-08 16:45:31 +0000 |
commit | d686ce931cab72612a9e1ada9fe99d65e11a32a3 (patch) | |
tree | a39e5efee92224f37149c11ea680e3680457d110 /contrib/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp | |
parent | 8838f3c32ac0ebcb8b20863f8c455375039a505e (diff) | |
parent | efdccd8358633400f927c74be0f7969bda1b3775 (diff) |
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp b/contrib/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp index df75745645e0..ff30fece5fce 100644 --- a/contrib/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp +++ b/contrib/llvm-project/llvm/lib/Analysis/ConstantFolding.cpp @@ -1784,8 +1784,8 @@ Constant *ConstantFoldFP(double (*NativeFP)(double), const APFloat &V, } #if defined(HAS_IEE754_FLOAT128) && defined(HAS_LOGF128) -Constant *ConstantFoldFP128(long double (*NativeFP)(long double), - const APFloat &V, Type *Ty) { +Constant *ConstantFoldFP128(float128 (*NativeFP)(float128), const APFloat &V, + Type *Ty) { llvm_fenv_clearexcept(); float128 Result = NativeFP(V.convertToQuad()); if (llvm_fenv_testexcept()) { |