Commit 19291b7
committed
[Flang][OpenMP] Add Lowering support for taskloop reductions
Support for lowering the Reduction clause support already exists,
so we can extend the support for taskloop to include reduction.
As support for Reduction in taskloop was only added in OpenMP 5.0,
the use of the Clause has been restricted to that version of OpenMP
or greater.1 parent ce5dac6 commit 19291b7
File tree
4 files changed
+52
-32
lines changed- flang
- lib/Lower/OpenMP
- test/Lower/OpenMP
- Todo
- llvm/include/llvm/Frontend/OpenMP
4 files changed
+52
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1763 | 1763 | | |
1764 | 1764 | | |
1765 | 1765 | | |
1766 | | - | |
1767 | | - | |
1768 | | - | |
1769 | | - | |
1770 | | - | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
1771 | 1771 | | |
1772 | 1772 | | |
1773 | 1773 | | |
1774 | 1774 | | |
| 1775 | + | |
1775 | 1776 | | |
1776 | 1777 | | |
1777 | 1778 | | |
1778 | 1779 | | |
1779 | | - | |
1780 | | - | |
| 1780 | + | |
| 1781 | + | |
1781 | 1782 | | |
1782 | 1783 | | |
1783 | 1784 | | |
| |||
2979 | 2980 | | |
2980 | 2981 | | |
2981 | 2982 | | |
| 2983 | + | |
2982 | 2984 | | |
2983 | | - | |
| 2985 | + | |
2984 | 2986 | | |
2985 | 2987 | | |
2986 | 2988 | | |
| |||
2994 | 2996 | | |
2995 | 2997 | | |
2996 | 2998 | | |
| 2999 | + | |
| 3000 | + | |
2997 | 3001 | | |
2998 | 3002 | | |
2999 | 3003 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1284 | 1284 | | |
1285 | 1285 | | |
1286 | 1286 | | |
1287 | | - | |
1288 | | - | |
1289 | | - | |
1290 | | - | |
1291 | | - | |
1292 | | - | |
1293 | | - | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
1298 | 1297 | | |
1299 | 1298 | | |
1300 | 1299 | | |
| |||
0 commit comments