Commit 7db8eb6
committed
[WIP] Delayed privatization.
This is a PoC for delayed privatization in OpenMP. Instead of directly
emitting privatization code in the frontend, we add a new op to outline
the privatization logic for a symbol and call-like mapping that maps
from the host symbol to an outlined function-like privatizer op.
Later, we would inline the delayed privatizer function-like op in the
OpenMP region to basically get the same code generated directly by the
fronend at the moment.1 parent 38476b0 commit 7db8eb6
File tree
11 files changed
+736
-81
lines changed- flang
- include/flang/Lower
- lib/Lower
- test/Lower/OpenMP/FIR
- mlir
- include/mlir/Dialect/OpenMP
- lib
- Conversion
- OpenMPToLLVM
- SCFToOpenMP
- Dialect/OpenMP/IR
- Target/LLVMIR/Dialect/OpenMP
- test/Dialect/OpenMP
11 files changed
+736
-81
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
299 | 303 | | |
300 | 304 | | |
301 | 305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1070 | 1070 | | |
1071 | 1071 | | |
1072 | 1072 | | |
1073 | | - | |
| 1073 | + | |
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
| |||
0 commit comments