[clang] [OpenACC][CIR] Lower 'num_workers' for parallel/kernels (PR #136578)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 21 11:53:29 PDT 2025
================
@@ -109,14 +126,15 @@ class OpenACCClauseCIREmitter final
}
void VisitDeviceTypeClause(const OpenACCDeviceTypeClause &clause) {
+ lastDeviceTypeClause = &clause;
----------------
andykaylor wrote:
What's the lifetime of this object? Who owns it?
https://github.com/llvm/llvm-project/pull/136578
More information about the cfe-commits
mailing list