diff options
author | Razvan Lupusoru <razvan.lupusoru@gmail.com> | 2025-02-10 13:04:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-10 13:04:10 -0800 |
commit | 83edbd4958feb00db48d35d94d349b4e4d4482c6 (patch) | |
tree | 8769099058cb8d5d38a5ef53991dead745a67b46 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 6536579d805c07ab43dc1ff23999ae85677ed9e2 (diff) | |
download | llvm-83edbd4958feb00db48d35d94d349b4e4d4482c6.zip llvm-83edbd4958feb00db48d35d94d349b4e4d4482c6.tar.gz llvm-83edbd4958feb00db48d35d94d349b4e4d4482c6.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions