[Mlir-commits] [mlir] [mlir][AMDGPU] Fix raw buffer ptr ops lowering (PR #122293)

Krzysztof Drewniak llvmlistbot at llvm.org
Fri Jan 10 10:06:40 PST 2025


================
@@ -167,28 +197,36 @@ struct RawBufferOpLowering : public ConvertOpToLLVMPattern<GpuOp> {
 
     MemRefDescriptor memrefDescriptor(memref);
 
-    Value ptr = memrefDescriptor.alignedPtr(rewriter, loc);
+    Value ptr = memrefDescriptor.bufferPtr(
----------------
krzysz00 wrote:

Hm, yeah, fair, I did try to support this and it is a bug

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


More information about the Mlir-commits mailing list