Skip to content

Conversation

@Lunderberg
Copy link
Contributor

To aid in debugging, generate the variable names of function/closure parameters based on their TIR names. These function/closure names can then be observed in the generated LLVM IR.

To aid in debugging, generate the variable names of function/closure
parameters based on their TIR names.  These function/closure names can
then be observed in the generated LLVM IR.
@Lunderberg Lunderberg force-pushed the function_closure_names branch from 93d25fe to caf9598 Compare March 9, 2022 15:16
@Lunderberg
Copy link
Contributor Author

Rebase onto main following #10535

@kparzysz-quic kparzysz-quic merged commit f9d3918 into apache:main Mar 9, 2022
@Lunderberg Lunderberg deleted the function_closure_names branch March 9, 2022 21:09
pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
* [LLVM][TIR] Propagate variable names to parameters.

To aid in debugging, generate the variable names of function/closure
parameters based on their TIR names.  These function/closure names can
then be observed in the generated LLVM IR.

* Use name parameter in CreateLoad.

* Fixed unit tests that check the parameter name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants