[flang-commits] [flang] [flang][cuda] Support memory cleanup at a return statement (PR #116304)

via flang-commits flang-commits at lists.llvm.org
Fri Nov 15 07:27:55 PST 2024


https://github.com/vdonaldson approved this pull request.

This looks like an improvement to me as is.

I'm not familiar with OpenACC code. But for the record, if OpenACC regions are directives in the PFT, it might be possible to further simplify this code by subsuming the `openAccCtx` into the `activeConstructStack`, and/or possibly even integrating those with the `fctCtx`. That would be a little more ambitious though.

https://github.com/llvm/llvm-project/pull/116304


More information about the flang-commits mailing list