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

Rana Pratap Reddy via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 24 22:47:36 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(
----------------
ranapratap55 wrote:

updated with only my changes.

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


More information about the cfe-commits mailing list