[clang] [CIR][SYCL] Emit attributes on the SYCL kernel caller (PR #224667)
Konstantinos Parasyris via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 18 18:47:08 PDT 2026
================
@@ -571,6 +571,22 @@ class CIRGenFunction : public CIRGenTypeCache {
const clang::LangOptions &getLangOpts() const { return cgm.getLangOpts(); }
+ bool checkIfFunctionMustProgress() {
+ if (cgm.getCodeGenOpts().getFiniteLoops() ==
+ clang::CodeGenOptions::FiniteLoopsKind::Never)
----------------
koparasy wrote:
Done.
https://github.com/llvm/llvm-project/pull/224667
More information about the cfe-commits
mailing list