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

Alex Voicu via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 13 06:41:21 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
----------------
AlexVlx wrote:

Typo, `othre`->`other`.

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


More information about the cfe-commits mailing list