Support inlining of function calls with the byval attribute on function
arguments by copying the pointee into a newly alloca'ed pointer at the
callsite before inlining.
The alignment attribute is not yet taken into account.
Differential D146616
[MLIR][LLVM] Copy byval attributes during inlining. definelicht on Mar 22 2023, 2:59 AM. Authored by
Details Support inlining of function calls with the byval attribute on function The alignment attribute is not yet taken into account.
Diff Detail
Event Timeline
Comment Actions Addressed comments by moving byval handling into a separate function so we can do early returns without breaking the control flow of other potential function argument attribute handling. |