mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
Backport patch for armv7-a without neon
This commit is contained in:
parent
4ef9824648
commit
8148f52f78
2 changed files with 35 additions and 1 deletions
28
0001-ARM-backport-vfp3d16-case.patch
Normal file
28
0001-ARM-backport-vfp3d16-case.patch
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
From 97933be8c42423cab966d68a7d3ea3b209d780d5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nicolas Chauvet <kwizart@gmail.com>
|
||||||
|
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 <kwizart@gmail.com>
|
||||||
|
---
|
||||||
|
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<bool> &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
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: The Low Level Virtual Machine
|
Summary: The Low Level Virtual Machine
|
||||||
|
|
||||||
License: NCSA
|
License: NCSA
|
||||||
|
@ -85,6 +85,7 @@ Patch0: 0001-cmake-Allow-shared-libraries-to-customize-the-soname.patch
|
||||||
%endif
|
%endif
|
||||||
Patch1: 0001-XFAIL-missing-abstract-variable.ll-test-on-ppc64le.patch
|
Patch1: 0001-XFAIL-missing-abstract-variable.ll-test-on-ppc64le.patch
|
||||||
Patch2: 0001-Disable-CrashRecoveryTest.DumpStackCleanup-test-on-a.patch
|
Patch2: 0001-Disable-CrashRecoveryTest.DumpStackCleanup-test-on-a.patch
|
||||||
|
Patch3: 0001-ARM-backport-vfp3d16-case.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
@ -547,6 +548,11 @@ fi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 05 2022 Nicolas Chauvet <kwizart@gmail.com> - 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 <tbaeder@redhat.com> - 14.0.5-1
|
* Mon Jun 13 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-1
|
||||||
- 14.0.5 Release
|
- 14.0.5 Release
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue