[clang] [CIR] Upstream get_bitfield operation to load bit-field members from structs (PR #145971)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 27 16:56:03 PDT 2025
================
@@ -65,6 +65,10 @@ struct CIROpAsmDialectInterface : public OpAsmDialectInterface {
os << (boolAttr.getValue() ? "true" : "false");
return AliasResult::FinalAlias;
}
+ if (auto bitfield = mlir::dyn_cast<cir::BitfieldInfoAttr>(attr)) {
----------------
andykaylor wrote:
Can you add an IR test to make sure this gets parsed correctly?
https://github.com/llvm/llvm-project/pull/145971
More information about the cfe-commits
mailing list