llvm/0001-ARM-backport-vfp3d16-case.patch
2023-01-19 08:37:08 +00:00

28 lines
1.1 KiB
Diff

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