We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c0aa56 commit e125ad4Copy full SHA for e125ad4
clang/include/clang/CIR/Dialect/IR/CIROps.td
@@ -1773,6 +1773,9 @@ def GetBitfieldOp : CIR_Op<"get_bitfield"> {
1773
1774
A unit attribute `volatile` can be used to indicate a volatile load of the
1775
bitfield.
1776
+ ```mlir
1777
+ cir.get_bitfield(#bfi, %0 {is_volatile} : !cir.ptr<!u64i>) -> !s32i
1778
+ ```
1779
1780
Example:
1781
Suppose we have a struct with multiple bitfields stored in
0 commit comments