[clang] [llvm] [Clang][X86] Add Clang23Compat for __int128 bit-field ABI change (PR #220788)
Benjamin Luke via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 4 10:12:40 PDT 2026
================
@@ -2200,16 +2200,23 @@ void X86_64ABIInfo::classify(QualType Ty, uint64_t OffsetBase, Class &Lo,
bool UseClang11Compat = getContext().getLangOpts().isCompatibleWith(
LangOptions::ClangABI::Ver11) ||
getContext().getTargetInfo().getTriple().isPS();
+ bool ClassifyUnnamedBitFields =
+ getContext().getLangOpts().getClangABICompat() >
+ LangOptions::ClangABI::Ver23;
----------------
freaknbigpanda wrote:
Please make sure that PlayStation targets do not classify unnamed bit fields, i.e:
`bool ClassifyUnnamedBitFields =
getContext().getLangOpts().getClangABICompat() >
LangOptions::ClangABI::Ver23 && !Triple.isPS()`
https://github.com/llvm/llvm-project/pull/220788
More information about the cfe-commits
mailing list