diff --git a/0001-ARM-backport-vfp3d16-case.patch b/0001-ARM-backport-vfp3d16-case.patch new file mode 100644 index 0000000..836c674 --- /dev/null +++ b/0001-ARM-backport-vfp3d16-case.patch @@ -0,0 +1,28 @@ +From 97933be8c42423cab966d68a7d3ea3b209d780d5 Mon Sep 17 00:00:00 2001 +From: Nicolas Chauvet +Date: Mon, 5 Dec 2022 12:13:44 +0100 +Subject: [PATCH] [ARM] backport vfp3d16 case + +Upstream Review https://reviews.llvm.org/D139304 + +Signed-off-by: Nicolas Chauvet +--- + llvm/lib/Support/Host.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp +index a82a4d451c8a..2e47cb583482 100644 +--- a/llvm/lib/Support/Host.cpp ++++ b/llvm/lib/Support/Host.cpp +@@ -1716,7 +1716,7 @@ bool sys::getHostCPUFeatures(StringMap &Features) { + .Case("half", "fp16") + .Case("neon", "neon") + .Case("vfpv3", "vfp3") +- .Case("vfpv3d16", "d16") ++ .Case("vfpv3d16", "vfp3d16") + .Case("vfpv4", "vfp4") + .Case("idiva", "hwdiv-arm") + .Case("idivt", "hwdiv") +-- +2.38.1 + diff --git a/llvm.spec b/llvm.spec index 9f085cb..6906fd9 100644 --- a/llvm.spec +++ b/llvm.spec @@ -66,7 +66,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Low Level Virtual Machine License: NCSA @@ -85,6 +85,7 @@ Patch0: 0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch %endif Patch1: 0001-XFAIL-missing-abstract-variable.ll-test-on-ppc64le.patch Patch2: 0001-Disable-CrashRecoveryTest.DumpStackCleanup-test-on-a.patch +Patch3: 0001-ARM-backport-vfp3d16-case.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -547,6 +548,11 @@ fi %endif %changelog +* Mon Dec 05 2022 Nicolas Chauvet - 14.0.5-2 +- Backport patch for armv7-a without neon + https://github.com/llvm/llvm-project/issues/59286 + https://reviews.llvm.org/D139304 + * Mon Jun 13 2022 Timm Bäder - 14.0.5-1 - 14.0.5 Release