@@ -32,9 +32,9 @@ program omp_examples
3232! PARSE-TREE: | OmpDirectiveName -> llvm::omp::Directive = declare reduction
3333! PARSE-TREE: | OmpArgumentList -> OmpArgument -> OmpReductionSpecifier
3434! PARSE-TREE: | | OmpReductionIdentifier -> DefinedOperator -> IntrinsicOperator = Add
35- ! PARSE-TREE: | | OmpTypeNameList -> OmpTypeSpecifier -> TypeSpec -> DerivedTypeSpec
35+ ! PARSE-TREE: | | OmpTypeNameList -> OmpTypeName -> TypeSpec -> DerivedTypeSpec
3636! PARSE-TREE: | | | Name = 'tt'
37- ! PARSE-TREE: | | OmpReductionCombiner -> AssignmentStmt = 'omp_out%r=omp_out%r+omp_in%r'
37+ ! PARSE-TREE: | | OmpCombinerExpression -> AssignmentStmt = 'omp_out%r=omp_out%r+omp_in%r'
3838! PARSE-TREE: | OmpClauseList -> OmpClause -> Initializer -> OmpInitializerClause -> AssignmentStmt = 'omp_priv%r=0._4'
3939
4040 ! $omp declare reduction(*:tt:omp_out%r = omp_out%r * omp_in%r) initializer(omp_priv%r = 1)
@@ -44,9 +44,9 @@ program omp_examples
4444! PARSE-TREE: | OmpDirectiveName -> llvm::omp::Directive = declare reduction
4545! PARSE-TREE: | OmpArgumentList -> OmpArgument -> OmpReductionSpecifier
4646! PARSE-TREE: | | OmpReductionIdentifier -> DefinedOperator -> IntrinsicOperator = Multiply
47- ! PARSE-TREE: | | OmpTypeNameList -> OmpTypeSpecifier -> TypeSpec -> DerivedTypeSpec
47+ ! PARSE-TREE: | | OmpTypeNameList -> OmpTypeName -> TypeSpec -> DerivedTypeSpec
4848! PARSE-TREE: | | | Name = 'tt'
49- ! PARSE-TREE: | | OmpReductionCombiner -> AssignmentStmt = 'omp_out%r=omp_out%r*omp_in%r'
49+ ! PARSE-TREE: | | OmpCombinerExpression -> AssignmentStmt = 'omp_out%r=omp_out%r*omp_in%r'
5050! PARSE-TREE: | OmpClauseList -> OmpClause -> Initializer -> OmpInitializerClause -> AssignmentStmt = 'omp_priv%r=1._4'
5151
5252 ! $omp declare reduction(max:tt:omp_out = mymax(omp_out, omp_in)) initializer(omp_priv%r = 0)
@@ -56,9 +56,9 @@ program omp_examples
5656! PARSE-TREE: | OmpDirectiveName -> llvm::omp::Directive = declare reduction
5757! PARSE-TREE: | OmpArgumentList -> OmpArgument -> OmpReductionSpecifier
5858! PARSE-TREE: | | OmpReductionIdentifier -> ProcedureDesignator -> Name = 'max'
59- ! PARSE-TREE: | | OmpTypeNameList -> OmpTypeSpecifier -> TypeSpec -> DerivedTypeSpec
59+ ! PARSE-TREE: | | OmpTypeNameList -> OmpTypeName -> TypeSpec -> DerivedTypeSpec
6060! PARSE-TREE: | | | Name = 'tt'
61- ! PARSE-TREE: | | OmpReductionCombiner -> AssignmentStmt = 'omp_out=mymax(omp_out,omp_in)'
61+ ! PARSE-TREE: | | OmpCombinerExpression -> AssignmentStmt = 'omp_out=mymax(omp_out,omp_in)'
6262! PARSE-TREE: | OmpClauseList -> OmpClause -> Initializer -> OmpInitializerClause -> AssignmentStmt = 'omp_priv%r=0._4'
6363
6464 ! $omp declare reduction(min:tt:omp_out%r = min(omp_out%r, omp_in%r)) initializer(omp_priv%r = 1)
@@ -68,9 +68,9 @@ program omp_examples
6868! PARSE-TREE: | OmpDirectiveName -> llvm::omp::Directive = declare reduction
6969! PARSE-TREE: | OmpArgumentList -> OmpArgument -> OmpReductionSpecifier
7070! PARSE-TREE: | | OmpReductionIdentifier -> ProcedureDesignator -> Name = 'min'
71- ! PARSE-TREE: | | OmpTypeNameList -> OmpTypeSpecifier -> TypeSpec -> DerivedTypeSpec
71+ ! PARSE-TREE: | | OmpTypeNameList -> OmpTypeName -> TypeSpec -> DerivedTypeSpec
7272! PARSE-TREE: | | | Name = 'tt'
73- ! PARSE-TREE: | | OmpReductionCombiner -> AssignmentStmt = 'omp_out%r=min(omp_out%r,omp_in%r)'
73+ ! PARSE-TREE: | | OmpCombinerExpression -> AssignmentStmt = 'omp_out%r=min(omp_out%r,omp_in%r)'
7474! PARSE-TREE: | OmpClauseList -> OmpClause -> Initializer -> OmpInitializerClause -> AssignmentStmt = 'omp_priv%r=1._4'
7575
7676 call random_number (values% r)
0 commit comments