[Mlir-commits] [mlir] [mlir][LLVM] Improve lowering of `llvm.byval` function arguments (PR #100028)

Mehdi Amini llvmlistbot at llvm.org
Mon Jul 29 14:51:12 PDT 2024


joker-eph wrote:

Taking another angle, the property to keep is that the type converter is always 1:1, that is for a given type before conversion you always get the same converted type.
We could do that and handle the byval conversion separately (outside of the type converter) directly in the signature conversion logic targeting llvm.func? (the logic would have to add the right `load` to the converted type as well).

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


More information about the Mlir-commits mailing list