diff --git a/mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h b/mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h --- a/mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h +++ b/mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h @@ -123,9 +123,6 @@ assert(type && type.hasStaticShape() && "unexpected type in attribution"); - // Explicitly drop memory space when lowering private memory - // attributions since NVVM models it as `alloca`s in the default - // memory space and does not support `alloca`s with addrspace(5). auto ptrType = typeConverter.convertType(type.getElementType()) .cast() .getPointerTo(AllocaAddrSpace);