Skip to content

Commit b960b63

Browse files
Update operation description
1 parent 47fbf70 commit b960b63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/include/clang/CIR/Dialect/IR/CIROps.td

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1679,10 +1679,10 @@ def SetBitfieldOp : CIR_Op<"set_bitfield"> {
16791679
The `cir.set_bitfield` operation provides a store-like access to
16801680
a bit field of a record.
16811681

1682-
It expects an address of a storage where to store, a type of the storage,
1683-
a value being stored, a name of a bit field, a pointer to the storage in the
1684-
base record, a size of the storage, a size the bit field, an offset
1685-
of the bit field and a sign. Returns a value being stored.
1682+
A bitfield info attribute must be provided to describe the location of
1683+
the bitfield within the memory referenced by the $addr argument.
1684+
The $src argument is inserted at the appropriate place in the memory and
1685+
the value that was stored. Returns a value being stored.
16861686

16871687
A unit attribute `volatile` can be used to indicate a volatile store of the
16881688
bitfield.

0 commit comments

Comments
 (0)