[llvm-branch-commits] [OpenMP] Add graph_id and graph_reset clause support (for taskgraph directive) (PR #194048)

Julian Brown via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 24 13:54:11 PDT 2026


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

This patch adds support for the graph_id and graph_reset clauses for the
OpenMP 6.0 "taskgraph" directive.  Relative to previously-posted versions,
this one does not have the clauses inherit from "OMPClauseWithPreInit",
since AFAICT it shouldn't be necessary to do that.  It also avoids
casting the graph_id argument to a boolean, and allows the expression
to be omitted for the graph_reset clause (which seems of limited use,
but is allowed by the spec).

Co-Authored-By: Josep Pinot <jpinot at bsc.es>

commit-id:bef7e706





More information about the llvm-branch-commits mailing list