Skip to content

Commit 16ebc0c

Browse files
committed
More renaming after rebase
1 parent e13d242 commit 16ebc0c

File tree

13 files changed

+17
-17
lines changed

13 files changed

+17
-17
lines changed

flang/include/flang/Optimizer/Transforms/Passes.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def CFGConversionOnFunc : CFGConversionBase<"func", "mlir::func::FuncOp"> {
169169
let constructor = "::fir::createFirToCfgOnFuncPass()";
170170
}
171171

172-
def CFGConversionOnReduction : CFGConversionBase<"reduce", "mlir::omp::ReductionDeclareOp"> {
172+
def CFGConversionOnReduction : CFGConversionBase<"reduce", "mlir::omp::DeclareReductionOp"> {
173173
let constructor = "::fir::createFirToCfgOnReductionPass()";
174174
}
175175

flang/include/flang/Tools/CLOptions.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ static void addCanonicalizerPassWithoutRegionSimplification(
124124
inline void addCfgConversionPass(mlir::PassManager &pm) {
125125
addNestedPassConditionally<mlir::func::FuncOp>(
126126
pm, disableCfgConversion, fir::createFirToCfgOnFuncPass);
127-
addNestedPassConditionally<mlir::omp::ReductionDeclareOp>(
127+
addNestedPassConditionally<mlir::omp::DeclareReductionOp>(
128128
pm, disableCfgConversion, fir::createFirToCfgOnReductionPass);
129129
}
130130

flang/test/Driver/bbc-mlir-pass-pipeline.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
! CHECK-NEXT: (S) 0 num-cse'd - Number of operations CSE'd
3939
! CHECK-NEXT: (S) 0 num-dce'd - Number of operations DCE'd
4040

41-
! CHECK-NEXT: Pipeline Collection : ['func.func', 'omp.reduction.declare']
41+
! CHECK-NEXT: Pipeline Collection : ['func.func', 'omp.declare_reduction']
4242
! CHECK-NEXT: 'func.func' Pipeline
4343
! CHECK-NEXT: PolymorphicOpConversion
4444
! CHECK-NEXT: CFGConversionOnFunc
45-
! CHECK-NEXT: 'omp.reduction.declare' Pipeline
45+
! CHECK-NEXT: 'omp.declare_reduction' Pipeline
4646
! CHECK-NEXT: CFGConversionOnReduction
4747

4848
! CHECK-NEXT: SCFToControlFlow

flang/test/Driver/mlir-debug-pass-pipeline.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
! ALL-NEXT: (S) 0 num-cse'd - Number of operations CSE'd
5959
! ALL-NEXT: (S) 0 num-dce'd - Number of operations DCE'd
6060

61-
! ALL-NEXT: Pipeline Collection : ['func.func', 'omp.reduction.declare']
61+
! ALL-NEXT: Pipeline Collection : ['func.func', 'omp.declare_reduction']
6262
! ALL-NEXT: 'func.func' Pipeline
6363
! ALL-NEXT: PolymorphicOpConversion
6464
! ALL-NEXT: CFGConversionOnFunc
65-
! ALL-NEXT: 'omp.reduction.declare' Pipeline
65+
! ALL-NEXT: 'omp.declare_reduction' Pipeline
6666
! ALL-NEXT: CFGConversionOnReduction
6767
! ALL-NEXT: SCFToControlFlow
6868
! ALL-NEXT: Canonicalizer

flang/test/Driver/mlir-pass-pipeline.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@
5252
! O2-NEXT: 'func.func' Pipeline
5353
! O2-NEXT: PolymorphicOpConversion
5454
! O2-NEXT: AddAliasTags
55-
! ALL-NEXT: Pipeline Collection : ['func.func', 'omp.reduction.declare']
55+
! ALL-NEXT: Pipeline Collection : ['func.func', 'omp.declare_reduction']
5656
! ALL-NEXT: 'func.func' Pipeline
5757
! NOTO2-NEXT: PolymorphicOpConversion
5858
! ALL-NEXT: CFGConversionOnFunc
59-
! ALL-NEXT: 'omp.reduction.declare' Pipeline
59+
! ALL-NEXT: 'omp.declare_reduction' Pipeline
6060
! ALL-NEXT: CFGConversionOnReduction
6161

6262
! ALL-NEXT: SCFToControlFlow

flang/test/Fir/basic-program.fir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ func.func @_QQmain() {
6060

6161
// PASSES-NEXT: AddAliasTags
6262

63-
// PASSES-NEXT: Pipeline Collection : ['func.func', 'omp.reduction.declare']
63+
// PASSES-NEXT: Pipeline Collection : ['func.func', 'omp.declare_reduction']
6464
// PASSES-NEXT: 'func.func' Pipeline
6565
// PASSES-NEXT: CFGConversionOnFunc
66-
// PASSES-NEXT: 'omp.reduction.declare' Pipeline
66+
// PASSES-NEXT: 'omp.declare_reduction' Pipeline
6767
// PASSES-NEXT: CFGConversionOnReduction
6868

6969
// PASSES-NEXT: SCFToControlFlow

flang/test/Lower/OpenMP/parallel-reduction-array.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ program reduce
1313
print *,i
1414
end program
1515

16-
! CHECK-LABEL: omp.reduction.declare @add_reduction_i_32_box_3_byref : !fir.ref<!fir.box<!fir.array<3xi32>>> init {
16+
! CHECK-LABEL: omp.declare_reduction @add_reduction_i_32_box_3_byref : !fir.ref<!fir.box<!fir.array<3xi32>>> init {
1717
! CHECK: ^bb0(%[[VAL_0:.*]]: !fir.ref<!fir.box<!fir.array<3xi32>>>):
1818
! CHECK: %[[VAL_1:.*]] = fir.alloca !fir.array<3xi32> {bindc_name = ".tmp"}
1919
! CHECK: %[[VAL_2:.*]] = arith.constant 0 : i32

flang/test/Lower/OpenMP/parallel-reduction-array2.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ program reduce
1313
print *,i
1414
end program
1515

16-
! CHECK-LABEL: omp.reduction.declare @add_reduction_i_32_box_3_byref : !fir.ref<!fir.box<!fir.array<3xi32>>> init {
16+
! CHECK-LABEL: omp.declare_reduction @add_reduction_i_32_box_3_byref : !fir.ref<!fir.box<!fir.array<3xi32>>> init {
1717
! CHECK: ^bb0(%[[VAL_0:.*]]: !fir.ref<!fir.box<!fir.array<3xi32>>>):
1818
! CHECK: %[[VAL_1:.*]] = fir.alloca !fir.array<3xi32> {bindc_name = ".tmp"}
1919
! CHECK: %[[VAL_2:.*]] = arith.constant 0 : i32

flang/test/Lower/OpenMP/wsloop-reduction-array.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ program reduce
1414
print *,r
1515
end program
1616

17-
! CHECK-LABEL omp.reduction.declare @add_reduction_i_32_box_2_byref : !fir.ref<!fir.box<!fir.array<2xi32>>> init {
17+
! CHECK-LABEL omp.declare_reduction @add_reduction_i_32_box_2_byref : !fir.ref<!fir.box<!fir.array<2xi32>>> init {
1818
! CHECK: ^bb0(%[[VAL_0:.*]]: !fir.ref<!fir.box<!fir.array<2xi32>>>):
1919
! CHECK: %[[VAL_1:.*]] = fir.alloca !fir.array<2xi32> {bindc_name = ".tmp"}
2020
! CHECK: %[[VAL_2:.*]] = arith.constant 0 : i32

flang/test/Lower/OpenMP/wsloop-reduction-array2.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ program reduce
1414
print *,r
1515
end program
1616

17-
! CHECK-LABEL omp.reduction.declare @add_reduction_i_32_box_2_byref : !fir.ref<!fir.box<!fir.array<2xi32>>> init {
17+
! CHECK-LABEL omp.declare_reduction @add_reduction_i_32_box_2_byref : !fir.ref<!fir.box<!fir.array<2xi32>>> init {
1818
! CHECK: ^bb0(%[[VAL_0:.*]]: !fir.ref<!fir.box<!fir.array<2xi32>>>):
1919
! CHECK: %[[VAL_1:.*]] = fir.alloca !fir.array<2xi32> {bindc_name = ".tmp"}
2020
! CHECK: %[[VAL_2:.*]] = arith.constant 0 : i32

0 commit comments

Comments
 (0)