llvm-project
83edbd49 - [flang][acc] Ensure data exit action is generated for present & nocreate (#126560)

Commit
1 year ago
[flang][acc] Ensure data exit action is generated for present & nocreate (#126560) The acc.delete operation has semantics of decrementing present counter and deleting the data when the counter reaches zero. Since both acc.present and acc.nocreate are both intended to increment present counter, this matching exit action must be inserted. This is also what was specified in OpenACC dialect documentation: https://mlir.llvm.org/docs/Dialects/OpenACCDialect/#operation-categories
Parents
Loading