@@ -84,18 +84,16 @@ subroutine f03(x)
84
84
85
85
! UNPARSE: SUBROUTINE f03 (x)
86
86
! UNPARSE: INTEGER x
87
- ! UNPARSE: !$OMP DECLARE SIMD LINEAR(x: UVAL)
87
+ ! UNPARSE: !$OMP DECLARE SIMD LINEAR(x: UVAL)
88
88
! UNPARSE: END SUBROUTINE
89
89
90
- ! PARSE-TREE: SpecificationPart
91
- ! [...]
92
- ! PARSE-TREE: | DeclarationConstruct -> SpecificationConstruct -> OpenMPDeclarativeConstruct -> OpenMPDeclareSimdConstruct
93
- ! PARSE-TREE: | | Verbatim
94
- ! PARSE-TREE: | | OmpClauseList -> OmpClause -> Linear -> OmpLinearClause
95
- ! PARSE-TREE: | | | OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'x'
96
- ! PARSE-TREE: | | | Modifier -> OmpLinearModifier -> Value = Uval
97
- ! PARSE-TREE: | | | bool = 'true'
98
- ! PARSE-TREE: ExecutionPart -> Block
90
+ ! PARSE-TREE: DeclarationConstruct -> SpecificationConstruct -> OpenMPDeclarativeConstruct -> OpenMPDeclareSimdConstruct -> OmpDirectiveSpecification
91
+ ! PARSE-TREE: | OmpDirectiveName -> llvm::omp::Directive = declare simd
92
+ ! PARSE-TREE: | OmpClauseList -> OmpClause -> Linear -> OmpLinearClause
93
+ ! PARSE-TREE: | | OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'x'
94
+ ! PARSE-TREE: | | Modifier -> OmpLinearModifier -> Value = Uval
95
+ ! PARSE-TREE: | | bool = 'true'
96
+ ! PARSE-TREE: | Flags = None
99
97
100
98
subroutine f04 (x )
101
99
integer :: x
@@ -104,17 +102,15 @@ subroutine f04(x)
104
102
105
103
! UNPARSE: SUBROUTINE f04 (x)
106
104
! UNPARSE: INTEGER x
107
- ! UNPARSE: !$OMP DECLARE SIMD LINEAR(x: UVAL, STEP(3_4))
105
+ ! UNPARSE: !$OMP DECLARE SIMD LINEAR(x: UVAL, STEP(3_4))
108
106
! UNPARSE: END SUBROUTINE
109
107
110
- ! PARSE-TREE: SpecificationPart
111
- ! [...]
112
- ! PARSE-TREE: | DeclarationConstruct -> SpecificationConstruct -> OpenMPDeclarativeConstruct -> OpenMPDeclareSimdConstruct
113
- ! PARSE-TREE: | | Verbatim
114
- ! PARSE-TREE: | | OmpClauseList -> OmpClause -> Linear -> OmpLinearClause
115
- ! PARSE-TREE: | | | OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'x'
116
- ! PARSE-TREE: | | | Modifier -> OmpLinearModifier -> Value = Uval
117
- ! PARSE-TREE: | | | Modifier -> OmpStepComplexModifier -> Scalar -> Integer -> Expr = '3_4'
118
- ! PARSE-TREE: | | | | LiteralConstant -> IntLiteralConstant = '3'
119
- ! PARSE-TREE: | | | bool = 'true'
120
- ! PARSE-TREE: ExecutionPart -> Block
108
+ ! PARSE-TREE: DeclarationConstruct -> SpecificationConstruct -> OpenMPDeclarativeConstruct -> OpenMPDeclareSimdConstruct -> OmpDirectiveSpecification
109
+ ! PARSE-TREE: | OmpDirectiveName -> llvm::omp::Directive = declare simd
110
+ ! PARSE-TREE: | OmpClauseList -> OmpClause -> Linear -> OmpLinearClause
111
+ ! PARSE-TREE: | | OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'x'
112
+ ! PARSE-TREE: | | Modifier -> OmpLinearModifier -> Value = Uval
113
+ ! PARSE-TREE: | | Modifier -> OmpStepComplexModifier -> Scalar -> Integer -> Expr = '3_4'
114
+ ! PARSE-TREE: | | | LiteralConstant -> IntLiteralConstant = '3'
115
+ ! PARSE-TREE: | | bool = 'true'
116
+ ! PARSE-TREE: | Flags = None
0 commit comments