File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ ! RUN: %flang_fc1 -fdebug-unparse -fopenmp -fopenmp-version=51 %s | FileCheck --ignore-case %s
2
+ ! RUN: %flang_fc1 -fdebug-dump-parse-tree -fopenmp -fopenmp-version=51 %s | FileCheck --check-prefix="PARSE-TREE" %s
3
+
4
+ subroutine openmp_do_tiles (x )
5
+
6
+ integer , intent (inout ):: x
7
+
8
+
9
+ ! CHECK: !$omp do
10
+ ! CHECK: !$omp tile sizes
11
+ ! $omp do
12
+ ! $omp tile sizes(2)
13
+ ! CHECK: do
14
+ do x = 1 , 100
15
+ call F1()
16
+ ! CHECK: end do
17
+ end do
18
+ ! CHECK: !$omp end tile
19
+ ! $omp end tile
20
+ ! $omp end do
21
+
22
+ ! PARSE-TREE:| | ExecutionPartConstruct -> ExecutableConstruct -> OpenMPConstruct -> OpenMPLoopConstruct
23
+ ! PARSE-TREE:| | | OmpBeginLoopDirective
24
+ ! PARSE-TREE:| | | OpenMPLoopConstruct
25
+ ! PARSE-TREE:| | | | OmpBeginLoopDirective
26
+ ! PARSE-TREE:| | | | | OmpLoopDirective -> llvm::omp::Directive = tile
27
+ ! PARSE-TREE:| | | | | OmpClauseList -> OmpClause -> Sizes -> Scalar -> Integer -> Expr = '2_4'
28
+ ! PARSE-TREE: | | | | DoConstruct
29
+ END subroutine openmp_do_tiles
You can’t perform that action at this time.
0 commit comments