[clang] [CIR] Upstream get_bitfield operation to load bit-field members from structs (PR #145971)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 28 16:07:08 PDT 2025
================
@@ -76,3 +77,31 @@ void def() {
T t;
U u;
}
+
+int load_field(S* s) {
+ return s->c;
----------------
Andres-Salamanca wrote:
Done
https://github.com/llvm/llvm-project/pull/145971
More information about the cfe-commits
mailing list