[llvm] 9f85af5 - [LLVM][ARM] Correct llvm feature for vfpv3d16 host feature

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 02:47:26 PST 2022


Author: David Spickett
Date: 2022-12-06T10:47:21Z
New Revision: 9f85af54d7363139fc6afc6403a224bc0a1b4c03

URL: https://github.com/llvm/llvm-project/commit/9f85af54d7363139fc6afc6403a224bc0a1b4c03
DIFF: https://github.com/llvm/llvm-project/commit/9f85af54d7363139fc6afc6403a224bc0a1b4c03.diff

LOG: [LLVM][ARM] Correct llvm feature for vfpv3d16 host feature

d16 was removed in https://reviews.llvm.org/D60691.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D139304

Added: 
    

Modified: 
    llvm/lib/Support/Host.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp
index c87d9644d097..adcdb6355c8c 100644
--- a/llvm/lib/Support/Host.cpp
+++ b/llvm/lib/Support/Host.cpp
@@ -1789,7 +1789,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")


        


More information about the llvm-commits mailing list