[all-commits] [llvm/llvm-project] 9eff48: [mlir][GPUToNVVM] Fix memref function args/results
Matthias Springer via All-commits
all-commits at lists.llvm.org
Sat Jun 22 06:42:45 PDT 2024
Branch: refs/heads/users/matthias-springer/gpu_memref_lowering
Home: https://github.com/llvm/llvm-project
Commit: 9eff486269b575e85db8efea7f5635018186b82b
https://github.com/llvm/llvm-project/commit/9eff486269b575e85db8efea7f5635018186b82b
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