Nathan =?utf-8?q?Gau=C3=ABr?= <brio...@google.com>, Nathan =?utf-8?q?Gau=C3=ABr?= <brio...@google.com>, Nathan =?utf-8?q?Gau=C3=ABr?= <brio...@google.com>, Nathan =?utf-8?q?Gau=C3=ABr?= <brio...@google.com> Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/88...@github.com>
================ @@ -1586,6 +1586,12 @@ class CodeGenModule : public CodeGenTypeCache { void AddGlobalDtor(llvm::Function *Dtor, int Priority = 65535, bool IsDtorAttrFunc = false); + // Return whether structured convergence intrinsics should be generated for + // this target. + bool shouldEmitConvergenceTokens() const { + return getTriple().isSPIRVLogical(); ---------------- arsenm wrote: Should add a TODO this should just be unconditional in the future https://github.com/llvm/llvm-project/pull/88918 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits