diff options
author | Eli Friedman <efriedma@quicinc.com> | 2025-06-16 00:15:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-16 00:15:06 -0700 |
commit | 222ab28a9240e03479341cba2f487b8350635fce (patch) | |
tree | 2a6d71a88e0d0a5b8b2e7caca15b1709e3668594 /llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp | |
parent | 7d9a451d875368baece310ca7226e3adbc00e1bf (diff) | |
download | llvm-222ab28a9240e03479341cba2f487b8350635fce.zip llvm-222ab28a9240e03479341cba2f487b8350635fce.tar.gz llvm-222ab28a9240e03479341cba2f487b8350635fce.tar.bz2 |
[aarch64] Fix Arm64EC libcall lowering after recent refactoring. (#143977)
The refactored code accidentally tokenized a string instead of just
concatenating it.
Add a regression test and some assertions to ensure consistency.
Fixes #143890 .
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp')
-rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp index ce795d3..d5c4532 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp +++ b/llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp @@ -531,8 +531,10 @@ struct StaticLibcallNameMap { StaticLibcallNameMap() { static const std::pair<const char *, RTLIB::Libcall> NameLibcalls[] = { #define HANDLE_LIBCALL(code, name) {(const char *)name, RTLIB::code}, +#define LIBCALL_NO_NAME nullptr #include "llvm/IR/RuntimeLibcalls.def" #undef HANDLE_LIBCALL +#undef LIBCALL_NO_NAME }; for (const auto &NameLibcall : NameLibcalls) { if (NameLibcall.first != nullptr && |