[Openmp-commits] [openmp] Draft: [OpenMP] Fix td_tdg_task_id underflow with taskloop and taskgraph (PR #150877)

via Openmp-commits openmp-commits at lists.llvm.org
Thu Jul 31 05:31:02 PDT 2025


jprotze wrote:

I think, the number of places where you iterate over all records is limited. In these places, you could simply check for `record_map[i].task != NULL` and skip the spurious holes in the vector of records. In other places where the record map is used to find successors, you can still blindly access the map entries.

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


More information about the Openmp-commits mailing list