Skip to content

Commit 7435881

Browse files
committed
xR2: Adding some formatting changes
1 parent 6169ebf commit 7435881

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
@@ -2149,26 +2149,6 @@ def DeclareReductionOp : OpenMP_Op<"declare_reduction", [Symbol,
21492149
let hasRegionVerifier = 1;
21502150
}
21512151

2152-
//===----------------------------------------------------------------------===//
2153-
// 2.19.5.4 reduction clause
2154-
//===----------------------------------------------------------------------===//
2155-
2156-
def ReductionOp : OpenMP_Op<"reduction"> {
2157-
let summary = "reduction construct";
2158-
let description = [{
2159-
Indicates the value that is produced by the current reduction-participating
2160-
entity for a reduction requested in some ancestor. The reduction is
2161-
identified by the accumulator, but the value of the accumulator may not be
2162-
updated immediately.
2163-
}];
2164-
2165-
let arguments= (ins AnyType:$operand, OpenMP_PointerLikeType:$accumulator);
2166-
let assemblyFormat = [{
2167-
$operand `,` $accumulator attr-dict `:` type($operand) `,` type($accumulator)
2168-
}];
2169-
let hasVerifier = 1;
2170-
}
2171-
21722152
//===----------------------------------------------------------------------===//
21732153
// [Spec 5.2] 10.5 masked Construct
21742154
//===----------------------------------------------------------------------===//

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)