[llvm-branch-commits] [OpenMP] Add sanity check for concurrent taskgraph reset (PR #195076)

Julian Brown via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Apr 30 05:51:44 PDT 2026


https://github.com/jtb20 created https://github.com/llvm/llvm-project/pull/195076

This patch adds a sanity check for concurrent taskgraph re-recording:
the case where two threads might simultaneously hit a taskgraph region
with the same graph_id and a non-zero graph_reset clause.

This will only trigger when debugging/assertions are enabled: it might
be more helpful to do this check unconditionally, but I'm not sure what
sort of error path in libomp should be used in that case.





More information about the llvm-branch-commits mailing list