[PATCH] D103833: [demangler] Fix demangling of 'half'

Stuart Brady via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 10 02:59:43 PDT 2021


stuart updated this revision to Diff 351100.
stuart added a comment.

Reupload with no changes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103833/new/

https://reviews.llvm.org/D103833

Files:
  include/llvm/Demangle/ItaniumDemangle.h
  src/demangle/ItaniumDemangle.h


Index: include/llvm/Demangle/ItaniumDemangle.h
===================================================================
--- include/llvm/Demangle/ItaniumDemangle.h
+++ include/llvm/Demangle/ItaniumDemangle.h
@@ -3883,7 +3883,7 @@
     //                ::= Dh   # IEEE 754r half-precision floating point (16 bits)
     case 'h':
       First += 2;
-      return make<NameType>("decimal16");
+      return make<NameType>("half");
     //                ::= Di   # char32_t
     case 'i':
       First += 2;
Index: src/demangle/ItaniumDemangle.h
===================================================================
--- src/demangle/ItaniumDemangle.h
+++ src/demangle/ItaniumDemangle.h
@@ -3883,7 +3883,7 @@
     //                ::= Dh   # IEEE 754r half-precision floating point (16 bits)
     case 'h':
       First += 2;
-      return make<NameType>("decimal16");
+      return make<NameType>("half");
     //                ::= Di   # char32_t
     case 'i':
       First += 2;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103833.351100.patch
Type: text/x-patch
Size: 975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210610/8404e78e/attachment.bin>


More information about the llvm-commits mailing list