[Mlir-commits] [mlir] [MLIR][GPU] Support grid constant, byval, byref on gpu.func (PR #172037)

Krzysztof Drewniak llvmlistbot at llvm.org
Fri Dec 19 11:03:10 PST 2025


================
@@ -369,7 +370,10 @@ GPUFuncOpLowering::matchAndRewrite(gpu::GPUFuncOp gpuFuncOp, OpAdaptor adaptor,
     }
 
     if (lowersToPointer) {
+      copyPointerAttribute(mlir::NVVM::NVVMDialect::getGridConstantAttrName());
----------------
krzysz00 wrote:

I don't see the issue with just landing "llvm pointers, integers, and anything else with a trivial API just gets its function attributes copied"

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


More information about the Mlir-commits mailing list