[clang] [AMDGPU][Clang] Support for type inferring extended image builtins for AMDGPU (PR #164358)

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 24 19:24:14 PDT 2025


================
@@ -133,8 +133,8 @@ Value *EmitAMDGPUWorkGroupSize(CodeGenFunction &CGF, unsigned Index) {
   }
 
   llvm::MDBuilder MDHelper(CGF.getLLVMContext());
-  llvm::MDNode *RNode = MDHelper.createRange(APInt(16, 1),
-      APInt(16, CGF.getTarget().getMaxOpenCLWorkGroupSize() + 1));
+  llvm::MDNode *RNode = MDHelper.createRange(
----------------
shiltian wrote:

Are these format changes? It looks like it to me. Can you format the file first in a separate PR, or alternatively, only format the part you change?

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


More information about the cfe-commits mailing list