[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
Mon Jun 30 10:50:36 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:
Yes, I see the problem with parsing complete records. You're right that you can't add your test until that is upstreamed. I think you can just proceed without the test for now. We can add it as a separate PR later.
https://github.com/llvm/llvm-project/pull/145971
More information about the cfe-commits
mailing list