[Openmp-commits] [openmp] [libomptarget] [OMPT] Fixed return address computation for OMPT events. (PR #80498)

via Openmp-commits openmp-commits at lists.llvm.org
Tue Feb 6 22:04:41 PST 2024


jprotze wrote:

When I tried to roll out the raai approach to push and pop the return address, I realized that I actually need to push them to a stack rather than a single value. Otherwise I wouldn't have the appropriate return address on the way back.

The other complication for raai comes from splitter runtime calls, where the same region calls into the runtime at the beginning and at the end of the region. This might occur for target if(0). Not sure. Task if(0) has such code pattern.

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


More information about the Openmp-commits mailing list