[all-commits] [llvm/llvm-project] 0c1c49: [mlir][AMDGPU] Fix raw buffer ptr ops lowering (#1...
Fabian Mora via All-commits
all-commits at lists.llvm.org
Mon Jan 13 13:11:54 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0c1c49f0ff8003aee22c3f26fca03c2f5385f355
https://github.com/llvm/llvm-project/commit/0c1c49f0ff8003aee22c3f26fca03c2f5385f355
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2025-01-13 (Mon, 13 Jan 2025)
Changed paths:
M mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
M mlir/test/Conversion/AMDGPUToROCDL/amdgpu-to-rocdl.mlir
Log Message:
-----------
[mlir][AMDGPU] Fix raw buffer ptr ops lowering (#122293)
This patch fixes several bugs in the lowering of AMDGPU raw buffer
operations. These bugs include:
- Incorrectly handling the offset of the memref, causing errors when
using subviews.
- Using the MaximumOp (float specific op) to calculate the number of
records.
- The number of records in the static shape case.
- The lowering when index bitwidth=i64.
Furthermore this patch also switches to use MLIR's data layout to get
the type size.
---------
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list