[clang] [CIR] Record how far a bit-field's declared types reach on x86_64 (PR #220069)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 31 12:58:48 PDT 2026
================
@@ -79,6 +79,24 @@ struct CIRRecordLowering final {
cir::ArrayType::get(cirGenTypes.convertTypeForMem(field->getType()), 0),
cir::RecordMemberKind::BitField);
}
+
+ /// A member recording that declared types reach \p excessInBits past where
+ /// it sits. An access unit's width is the compiler's choice, so it can be
+ /// narrower than the types declared in it, and the ABI reads that reach to
----------------
erichkeane wrote:
why did you introduce the term 'reach' here? Is that from the ABI spec? It isn't really meaningful anywhere else.
https://github.com/llvm/llvm-project/pull/220069
More information about the cfe-commits
mailing list