Skip to content

Commit 40b4fd7

Browse files
author
Chen Zheng
authored
[NFC] fix build failure (llvm#100993)
Fix the build failure caused by llvm#94944 Fixes llvm#100296
1 parent 73c961a commit 40b4fd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Analysis/ConstantFolding.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,8 +1782,8 @@ Constant *ConstantFoldFP(double (*NativeFP)(double), const APFloat &V,
17821782
}
17831783

17841784
#if defined(HAS_IEE754_FLOAT128) && defined(HAS_LOGF128)
1785-
Constant *ConstantFoldFP128(long double (*NativeFP)(long double),
1786-
const APFloat &V, Type *Ty) {
1785+
Constant *ConstantFoldFP128(float128 (*NativeFP)(float128), const APFloat &V,
1786+
Type *Ty) {
17871787
llvm_fenv_clearexcept();
17881788
float128 Result = NativeFP(V.convertToQuad());
17891789
if (llvm_fenv_testexcept()) {

0 commit comments

Comments
 (0)