Skip to content

[LLVM] Minor refactor to LLVMModuleNode::SaveToFile#15139

Merged
kparzysz-quic merged 1 commit intoapache:mainfrom
Lunderberg:llvm_refactor_save_to_file
Jun 22, 2023
Merged

[LLVM] Minor refactor to LLVMModuleNode::SaveToFile#15139
kparzysz-quic merged 1 commit intoapache:mainfrom
Lunderberg:llvm_refactor_save_to_file

Conversation

@Lunderberg
Copy link
Copy Markdown
Contributor

Previously, the #if TVM_LLVM_VERSION checks made it difficult to determine the logic of LVMModuleNode::SaveToFile while debugging. This commit pulls out the preprocessor directives into wrapper functions that maintain the same compatibility, making it easier to follow the logic of the SaveToFile function.

Previously, the `#if TVM_LLVM_VERSION` checks made it difficult to
determine the logic of LLVMModuleNode::SaveToFile while debugging.
This commit pulls out the preprocessor directives into wrapper
functions that maintain the same compatibility, making it easier to
follow the logic of the `SaveToFile` function.
@tvm-bot
Copy link
Copy Markdown
Collaborator

tvm-bot commented Jun 21, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

  • No users to tag found in teams: llvm See #10317 for details

Generated by tvm-bot

Copy link
Copy Markdown
Contributor

@kparzysz-quic kparzysz-quic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@kparzysz-quic kparzysz-quic merged commit bee073b into apache:main Jun 22, 2023
@Lunderberg Lunderberg deleted the llvm_refactor_save_to_file branch July 3, 2023 13:31
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.

3 participants