[all-commits] [llvm/llvm-project] dac6cf: [mlir][GPUToNVVM] Fix memref function args/results
Matthias Springer via All-commits
all-commits at lists.llvm.org
Sat Jun 22 06:56:02 PDT 2024
Branch: refs/heads/users/matthias-springer/gpu_memref_lowering
Home: https://github.com/llvm/llvm-project
Commit: dac6cf3dac4487ef0670c072ca61ecf3222f860f
https://github.com/llvm/llvm-project/commit/dac6cf3dac4487ef0670c072ca61ecf3222f860f
Author: Matthias Springer <mspringer at nvidia.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
M mlir/lib/Conversion/GPUCommon/GPUOpsLowering.h
M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
Log Message:
-----------
[mlir][GPUToNVVM] Fix memref function args/results
The `gpu.func` op lowering accounts for memref arguments/results (both "normal" and bare-pointer supported), but the `gpu.return` op lowering did not. This resulting in invalid result IR that did not verify. This commit uses the same lowering strategy as for `func.return` in the `gpu.return` lowering.
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