Skip to content

Commit 21263f2

Browse files
committed
xR2: Adding some formatting changes
1 parent 90a7d37 commit 21263f2

File tree

2 files changed

+1
-22
lines changed

2 files changed

+1
-22
lines changed

mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,26 +1577,6 @@ def DeclareReductionOp : OpenMP_Op<"declare_reduction", [IsolatedFromAbove,
15771577
let hasRegionVerifier = 1;
15781578
}
15791579

1580-
//===----------------------------------------------------------------------===//
1581-
// 2.19.5.4 reduction clause
1582-
//===----------------------------------------------------------------------===//
1583-
1584-
def ReductionOp : OpenMP_Op<"reduction"> {
1585-
let summary = "reduction construct";
1586-
let description = [{
1587-
Indicates the value that is produced by the current reduction-participating
1588-
entity for a reduction requested in some ancestor. The reduction is
1589-
identified by the accumulator, but the value of the accumulator may not be
1590-
updated immediately.
1591-
}];
1592-
1593-
let arguments= (ins AnyType:$operand, OpenMP_PointerLikeType:$accumulator);
1594-
let assemblyFormat = [{
1595-
$operand `,` $accumulator attr-dict `:` type($operand) `,` type($accumulator)
1596-
}];
1597-
let hasVerifier = 1;
1598-
}
1599-
16001580
//===----------------------------------------------------------------------===//
16011581
// [Spec 5.2] 10.5 masked Construct
16021582
//===----------------------------------------------------------------------===//

mlir/test/Dialect/OpenMP/ops.mlir

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ func.func @omp_master() -> () {
1818

1919
// CHECK-LABEL: omp_masked
2020
func.func @omp_masked(%filtered_thread_id : i32) -> () {
21-
22-
2321
// CHECK: omp.masked filter(%{{.*}} : i32)
2422
"omp.masked" (%filtered_thread_id) ({
2523
omp.terminator
@@ -31,6 +29,7 @@ func.func @omp_masked(%filtered_thread_id : i32) -> () {
3129
}) : () -> ()
3230
return
3331
}
32+
3433
func.func @omp_taskwait() -> () {
3534
// CHECK: omp.taskwait
3635
omp.taskwait

0 commit comments

Comments
 (0)