Skip to content

Commit 6ee4908

Browse files
Chen Zhengtru
Chen Zheng
authored andcommitted
[NFC] fix build failure (llvm#100993)
Fix the build failure caused by llvm#94944 Fixes llvm#100296 (cherry picked from commit 40b4fd7)
1 parent 6e006e1 commit 6ee4908

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
@@ -1784,8 +1784,8 @@ Constant *ConstantFoldFP(double (*NativeFP)(double), const APFloat &V,
17841784
}
17851785

17861786
#if defined(HAS_IEE754_FLOAT128) && defined(HAS_LOGF128)
1787-
Constant *ConstantFoldFP128(long double (*NativeFP)(long double),
1788-
const APFloat &V, Type *Ty) {
1787+
Constant *ConstantFoldFP128(float128 (*NativeFP)(float128), const APFloat &V,
1788+
Type *Ty) {
17891789
llvm_fenv_clearexcept();
17901790
float128 Result = NativeFP(V.convertToQuad());
17911791
if (llvm_fenv_testexcept()) {

0 commit comments

Comments
 (0)