[clang] [llvm] [clang][OpenMP] Add no-loop SPMD kernel promotion (PR #224041)

Dhruva Chakrabarti via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 13 23:04:35 PDT 2026


================
@@ -378,6 +386,10 @@ class CGOpenMPRuntimeGPU : public CGOpenMPRuntime {
   /// - otherwise.
   bool IsInTTDRegion = false;
 
+  /// The default attributes of the target region being emitted, filled in by
+  /// the kernel prologue and read back while the region's body is emitted.
+  llvm::OpenMPIRBuilder::TargetKernelDefaultAttrs KernelAttrs;
----------------
dhruvachak wrote:

Remove this cache, go back to the local kernel attrs.

https://github.com/llvm/llvm-project/pull/224041


More information about the cfe-commits mailing list