[clang] [CIR] Upstream get_bitfield operation to load bit-field members from structs (PR #145971)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 30 11:49:31 PDT 2025
================
@@ -1669,6 +1669,85 @@ def GetGlobalOp : CIR_Op<"get_global",
}];
}
+//===----------------------------------------------------------------------===//
+// GetBitfieldOp
+//===----------------------------------------------------------------------===//
+
+def GetBitfieldOp : CIR_Op<"get_bitfield"> {
+ let summary = "Get a bitfield";
----------------
erichkeane wrote:
```suggestion
let summary = "Get the information for a bitfield member";
```
https://github.com/llvm/llvm-project/pull/145971
More information about the cfe-commits
mailing list