[libcxx-commits] [PATCH] D159004: [VE] Support VE in long double demangler

Kazushi Marukawa via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 28 09:32:50 PDT 2023


kaz7 created this revision.
kaz7 added reviewers: efocht, MaskRay, jdoerfert, awarzynski.
kaz7 added projects: libc++abi, VE.
Herald added subscribers: s.egerton, simoncook, asb.
Herald added a project: All.
kaz7 requested review of this revision.
Herald added subscribers: libcxx-commits, wangpc, aheejin.
Herald added a reviewer: libc++abi.

Support VE in long double demangler.  This patch corrects
libcxxabi/test/test_demangle.pass.cpp on VE.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159004

Files:
  libcxxabi/src/demangle/ItaniumDemangle.h


Index: libcxxabi/src/demangle/ItaniumDemangle.h
===================================================================
--- libcxxabi/src/demangle/ItaniumDemangle.h
+++ libcxxabi/src/demangle/ItaniumDemangle.h
@@ -5134,7 +5134,8 @@
 struct FloatData<long double>
 {
 #if defined(__mips__) && defined(__mips_n64) || defined(__aarch64__) || \
-    defined(__wasm__) || defined(__riscv) || defined(__loongarch__)
+    defined(__wasm__) || defined(__riscv) || defined(__loongarch__) || \
+    defined(__ve__)
     static const size_t mangled_size = 32;
 #elif defined(__arm__) || defined(__mips__) || defined(__hexagon__)
     static const size_t mangled_size = 16;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159004.553967.patch
Type: text/x-patch
Size: 658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230828/b3926534/attachment.bin>


More information about the libcxx-commits mailing list