[PATCH] D151298: [clang][LoongArch] Fix the calling convention for empty struct in C++ mode
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 24 11:50:45 PDT 2023
rjmccall added a comment.
As far as I'm concerned as editor of the Itanium ABI, the ABI treatment of trivial-for-the-purposes-of-calls classes is purely a psABI matter, and the Itanium ABI's wording around empty classes is merely a suggestion if the psABI doesn't have more specific rules (because empty structs are normally invalid in C). Do what you think is best for your ABI.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151298/new/
https://reviews.llvm.org/D151298
More information about the cfe-commits
mailing list