File tree Expand file tree Collapse file tree 4 files changed +10
-7
lines changed
openmp/runtime/test/transform Expand file tree Collapse file tree 4 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 2
2
! It is done 3 times corresponding to every possible fraction of the last
3
3
! iteration before passing beyond UB.
4
4
5
- ! RUN: %flang %flags %openmp_flags -fopenmp-version=51 -DUB=16 %s -o %t-ub16.exe
6
- ! RUN: %flang %flags %openmp_flags -fopenmp-version=51 -DUB=17 %s -o %t-ub17.exe
7
- ! RUN: %flang %flags %openmp_flags -fopenmp-version=51 -DUB=18 %s -o %t-ub18.exe
5
+ ! RUN: %flang %flags %openmp_flags -fopenmp-version=51 -cpp - DUB=16 %s -o %t-ub16.exe
6
+ ! RUN: %flang %flags %openmp_flags -fopenmp-version=51 -cpp - DUB=17 %s -o %t-ub17.exe
7
+ ! RUN: %flang %flags %openmp_flags -fopenmp-version=51 -cpp - DUB=18 %s -o %t-ub18.exe
8
8
! RUN: %t-ub16.exe | FileCheck %s --match-full-lines
9
9
! RUN: %t-ub17.exe | FileCheck %s --match-full-lines
10
10
! RUN: %t-ub18.exe | FileCheck %s --match-full-lines
11
11
12
- program tile_intfor_1d
12
+ program tile_do_1d
13
13
implicit none
14
14
integer i
15
15
print * , ' do'
Original file line number Diff line number Diff line change 4
4
! RUN: %t.exe | FileCheck %s --match-full-lines
5
5
6
6
7
- program tile_intfor_2d
7
+ program tile_do_2d
8
+ implicit none
8
9
integer i, j
9
10
print * , ' do'
10
11
Original file line number Diff line number Diff line change 3
3
! RUN: %flang %flags %openmp_flags -fopenmp-version=51 %s -o %t.exe
4
4
! RUN: %t.exe | FileCheck %s --match-full-lines
5
5
6
- program tile_intfor_varsizes
6
+ program tile_do_2d_varsizes
7
+ implicit none
7
8
integer i
8
9
9
10
call kernel(7 ,17 ,3 ,2 )
Original file line number Diff line number Diff line change 4
4
! RUN: %t.exe | FileCheck %s --match-full-lines
5
5
6
6
7
- program unroll_heuristic
7
+ program unroll_heuristic_do
8
+ implicit none
8
9
integer :: i
9
10
print * , ' do'
10
11
You can’t perform that action at this time.
0 commit comments