[clang] clang/SPIRV: Respect __launch_bounds__ for AMDHIP case (PR #215616)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 13 07:29:34 PDT 2026


================
@@ -349,7 +349,7 @@ void AMDGPUTargetCodeGenInfo::setFunctionDeclAttributes(
   const auto *FlatWGS = FD->getAttr<AMDGPUFlatWorkGroupSizeAttr>();
 
   // __launch_bounds__ only takes effect on kernels and is silently ignored on
-  // other functions The arguments are honored only if the equivalent native
+  // othre functions The arguments are honored only if the equivalent native
----------------
arsenm wrote:

this was actually from the parent and Github's bad at showing stacked PRs after the first part is merged 

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


More information about the cfe-commits mailing list