llvm-project
5a5e8ba0 - [MLIR][OpenMP] Add a new AutomapToTargetData conversion pass in FIR (#151989)

Commit
54 days ago
[MLIR][OpenMP] Add a new AutomapToTargetData conversion pass in FIR (#151989) Add a new `AutomapToTargetData` pass. This gathers the declare target enter variables which have the `AUTOMAP` modifier. And adds `omp.declare_target_enter/exit` mapping directives for `fir.allocmem` and `fir.freemem` oeprations on the `AUTOMAP` enabled variables. Automap Ref: OpenMP 6.0 section 7.9.7.
Author
Parents
Loading