diff options
author | Tobias Gysi <tobias.gysi@nextsilicon.com> | 2025-01-20 09:30:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-20 09:30:28 +0100 |
commit | d0c9e70bcc40948821e83eb0ec32e6e15fb0dd4b (patch) | |
tree | a794bf8d90caaaed1746879be4c45c436604391c /llvm/lib/CodeGen/CommandFlags.cpp | |
parent | c0055ec434cbb132d7776f8b4c39e99b69fa97ea (diff) | |
download | llvm-d0c9e70bcc40948821e83eb0ec32e6e15fb0dd4b.zip llvm-d0c9e70bcc40948821e83eb0ec32e6e15fb0dd4b.tar.gz llvm-d0c9e70bcc40948821e83eb0ec32e6e15fb0dd4b.tar.bz2 |
[MLIR][LLVM] Improve inlining debug information (#123520)
This commit improves the debug information for `alloca` and `memcpy`
operations generated by the LLVM dialect inlining interface.
When inlining by value parameters, the inliner creates `alloca` and
`memcpy` operations. This revision sets the location of these created
operations to the respective argument locations instead of the function
location. This change enables users to better identify the source code
location of the copied variables.
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions