cdde20622b
* For details, see the release notes: - https://releases.llvm.org/19.1.0/docs/ReleaseNotes.html - https://releases.llvm.org/19.1.0/tools/clang/docs/ReleaseNotes.html - https://releases.llvm.org/19.1.0/tools/clang/tools/extra/docs/ReleaseNotes.html - https://releases.llvm.org/19.1.0/projects/libcxx/docs/ReleaseNotes.html - https://releases.llvm.org/19.1.0/tools/lld/docs/ReleaseNotes.html * New LLVM tool: reduce-chunk-list to help find bugs using debug counters. See the Programmer's Manual for usage. * New Clang tools: clang-installapi for Apple-related package management, clang-nvlink-wrapper as a wrapper around `nvlink`. - No longer include OpenMP offload libraries. - Rebase patches: * clang-fix-openmp-test.patch * libcxx-test-library-path.patch * llvm-do-not-install-static-libraries.patch * llvm_build_tablegen_component_as_shared_library.patch - Remove obsolete patches: * lld-default-sha1.patch because upstream switched to sha1. * llvm-remove-clang-only-flags.patch because warning flags are no longer autodetected. * openmp-dont-run-gpu-arch.patch because we're excluding the offload project for now. - Add llvm-fix-build-failure-on-ppc64le.patch to fix ppc64le build. - Require Python 3.11 on Leap because we need Python >= 3.8 now. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm19?expand=0&rev=1
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
From 40b4fd7a3e81d32b29364a1b15337bcf817659c0 Mon Sep 17 00:00:00 2001
|
|
From: Chen Zheng <czhengsz@cn.ibm.com>
|
|
Date: Tue, 30 Jul 2024 09:02:07 +0800
|
|
Subject: [PATCH] [NFC] fix build failure (#100993)
|
|
|
|
Fix the build failure caused by
|
|
https://github.com/llvm/llvm-project/pull/94944
|
|
|
|
Fixes https://github.com/llvm/llvm-project/issues/100296
|
|
---
|
|
llvm/lib/Analysis/ConstantFolding.cpp | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp
|
|
index 85ee231675d0..084647b1d9d9 100644
|
|
--- a/llvm/lib/Analysis/ConstantFolding.cpp
|
|
+++ b/llvm/lib/Analysis/ConstantFolding.cpp
|
|
@@ -1782,8 +1782,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()) {
|
|
--
|
|
2.46.0
|
|
|