Files
clang-p2996/mlir/lib/Conversion/GPUCommon/GPUOpsLowering.cpp
Matthias Springer 3f33d2f3ca [mlir][GPUToNVVM] Fix memref function args/results (#96392)
The `gpu.func` op lowering accounts for memref arguments/results (both
"normal" and bare-pointer supported), but the `gpu.return` op lowering
did not. The lowering produced invalid IR that did not verify.

This commit uses the same lowering strategy as for `func.return` in the
`gpu.return` lowering. (The C++ implementation is copied. We may want to
share some code between `func` and `gpu` lowerings in the future.)
2024-06-23 09:51:12 +02:00

32 KiB