diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-12-04 17:27:59 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-12-04 17:27:59 -0600 |
commit | a52113d2368551dc2c530b765f656e724fcd7739 (patch) | |
tree | e29c2aa61e7685cff165f23a043421de485ac9fe /user/llvm14/roundeven.patch | |
parent | 9286e92e196082d80499e286c154086d0d302188 (diff) | |
download | packages-a52113d2368551dc2c530b765f656e724fcd7739.tar.gz packages-a52113d2368551dc2c530b765f656e724fcd7739.tar.bz2 packages-a52113d2368551dc2c530b765f656e724fcd7739.tar.xz packages-a52113d2368551dc2c530b765f656e724fcd7739.zip |
user/llvm14: Move to bootstrap/
Package is only needed by Rust bootstrap packages.
Diffstat (limited to 'user/llvm14/roundeven.patch')
-rw-r--r-- | user/llvm14/roundeven.patch | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/user/llvm14/roundeven.patch b/user/llvm14/roundeven.patch deleted file mode 100644 index 04d741cdb..000000000 --- a/user/llvm14/roundeven.patch +++ /dev/null @@ -1,49 +0,0 @@ ---- llvm-14.0.4.src/lib/Analysis/TargetLibraryInfo.cpp.old 2022-05-24 22:02:58.000000000 +0000 -+++ llvm-14.0.4.src/lib/Analysis/TargetLibraryInfo.cpp 2022-07-06 01:38:22.016862561 +0000 -@@ -588,6 +588,13 @@ - TLI.setUnavailable(LibFunc_statvfs64); - TLI.setUnavailable(LibFunc_tmpfile64); - -+ // These functions are unavailable on musl. -+ if (T.isMusl()) { -+ TLI.setUnavailable(LibFunc_roundeven); -+ TLI.setUnavailable(LibFunc_roundevenf); -+ TLI.setUnavailable(LibFunc_roundevenl); -+ } -+ - // Relaxed math functions are included in math-finite.h on Linux (GLIBC). - // Note that math-finite.h is no longer supported by top-of-tree GLIBC, - // so we keep these functions around just so that they're recognized by ---- llvm-14.0.4.src/test/Transforms/InstCombine/double-float-shrink-2.ll.old 2022-05-24 22:02:58.000000000 +0000 -+++ llvm-14.0.4.src/test/Transforms/InstCombine/double-float-shrink-2.ll 2022-07-06 02:03:20.657791057 +0000 -@@ -1,5 +1,5 @@ - ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py --; RUN: opt < %s -instcombine -S -mtriple "i386-pc-linux" | FileCheck %s -+; RUN: opt < %s -instcombine -S -mtriple "i386-pc-linux-gnu" | FileCheck %s - ; RUN: opt < %s -instcombine -S -mtriple "i386-pc-win32" | FileCheck %s - ; RUN: opt < %s -instcombine -S -mtriple "x86_64-pc-win32" | FileCheck %s - ; RUN: opt < %s -instcombine -S -mtriple "i386-pc-mingw32" | FileCheck %s ---- llvm-14.0.4.src/test/ExecutionEngine/Interpreter/intrinsics.ll.old 2022-05-24 22:02:58.000000000 +0000 -+++ llvm-14.0.4.src/test/ExecutionEngine/Interpreter/intrinsics.ll 2022-07-23 06:50:59.336665672 +0000 -@@ -13,8 +13,8 @@ - declare double @llvm.trunc.f64(double) - declare float @llvm.round.f32(float) - declare double @llvm.round.f64(double) --declare float @llvm.roundeven.f32(float) --declare double @llvm.roundeven.f64(double) -+;declare float @llvm.roundeven.f32(float) -+;declare double @llvm.roundeven.f64(double) - declare float @llvm.copysign.f32(float, float) - declare double @llvm.copysign.f64(double, double) - -@@ -31,8 +31,8 @@ - %trunc64 = call double @llvm.trunc.f64(double 0.000000e+00) - %round32 = call float @llvm.round.f32(float 0.000000e+00) - %round64 = call double @llvm.round.f64(double 0.000000e+00) -- %roundeven32 = call float @llvm.roundeven.f32(float 0.000000e+00) -- %roundeven64 = call double @llvm.roundeven.f64(double 0.000000e+00) -+ ;%roundeven32 = call float @llvm.roundeven.f32(float 0.000000e+00) -+ ;%roundeven64 = call double @llvm.roundeven.f64(double 0.000000e+00) - %copysign32 = call float @llvm.copysign.f32(float 0.000000e+00, float 0.000000e+00) - %copysign64 = call double @llvm.copysign.f64(double 0.000000e+00, double 0.000000e+00) - ret i32 0 |