Skip to content

Commit 9df89a0

Browse files
committed
format
1 parent 3040c8c commit 9df89a0

File tree

1 file changed

+10
-9
lines changed
  • flang/include/flang/Optimizer/Dialect/CUF

1 file changed

+10
-9
lines changed

flang/include/flang/Optimizer/Dialect/CUF/CUFOps.td

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def cuf_AllocOp : cuf_Op<"alloc", [AttrSizedOperandSegments]> {
4747
);
4848

4949
// Value-scoped Allocate on the returned reference
50-
let results = (outs Res<fir_ReferenceType, "",
51-
[MemAlloc<DefaultResource>]>:$ptr);
50+
let results =
51+
(outs Res<fir_ReferenceType, "", [MemAlloc<DefaultResource>]>:$ptr);
5252

5353
let assemblyFormat = [{
5454
$in_type (`(` $typeparams^ `:` type($typeparams) `)`)?
@@ -95,13 +95,14 @@ def cuf_AllocateOp : cuf_Op<"allocate", [AttrSizedOperandSegments]> {
9595
}];
9696

9797
// Value-scoped Allocate on the descriptor being allocated
98-
let arguments = (ins Arg<fir_ReferenceType, "",
99-
[MemAlloc<DefaultResource>, MemRead, MemWrite]>:$box,
100-
Arg<Optional<AnyRefOrBoxType>, "", [MemWrite]>:$errmsg,
101-
Optional<fir_ReferenceType>:$stream,
102-
Arg<Optional<AnyRefOrBoxType>, "", [MemWrite]>:$pinned,
103-
Arg<Optional<AnyRefOrBoxType>, "", [MemRead]>:$source,
104-
cuf_DataAttributeAttr:$data_attr, UnitAttr:$hasStat);
98+
let arguments =
99+
(ins Arg<fir_ReferenceType,
100+
"", [MemAlloc<DefaultResource>, MemRead, MemWrite]>:$box,
101+
Arg<Optional<AnyRefOrBoxType>, "", [MemWrite]>:$errmsg,
102+
Optional<fir_ReferenceType>:$stream,
103+
Arg<Optional<AnyRefOrBoxType>, "", [MemWrite]>:$pinned,
104+
Arg<Optional<AnyRefOrBoxType>, "", [MemRead]>:$source,
105+
cuf_DataAttributeAttr:$data_attr, UnitAttr:$hasStat);
105106

106107
let results = (outs AnyIntegerType:$stat);
107108

0 commit comments

Comments
 (0)