backend:AArch64clang:codegengood first issue
仓库指标
- 星标
- (26,378 个星标)
- PR 合并指标
- (平均合并 1天 2小时) (30 天内合并 1,000 个 PR)
描述
The latest MSVC release candidate has support for SVE, and with it a set of new SVE mangling patterns. We should mangle like MSVC instead of using the manglings we invented before (in #141887).
Example code:
#include <arm_sve.h>
void f(svint32_t x) {}
Latest MSVC produces the mangled symbol ?f@@YAX$$_CD@Z.
The relevant code is in MicrosoftCXXNameMangler::mangleType; replace the existing code which does #include "clang/Basic/AArch64ACLETypes.def".
(As a followup, we should also add demangling support in llvm/lib/Demangle/MicrosoftDemangle.cpp.)