Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nfc][thinlto] Factor common state for computeImportForModule #65427

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

mtrofin
Copy link
Member

@mtrofin mtrofin commented Sep 6, 2023

Added a class to hold such common state. The goal is to both reduce the argument list of other utilities used by computeImportForModule (which will be brought as members in a subsequent patch), and to make it easy to extend such state later.

Added a class to hold such common state. The goal is to both reduce the
argument list of other utilities used by `computeImportForModule` (which
will be brought as members in a subsequent patch), and to make it easy
to extend such state later.
@mtrofin mtrofin requested a review from a team as a code owner September 6, 2023 00:38
Copy link
Contributor

@teresajohnson teresajohnson left a comment

Choose a reason for hiding this comment

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

LGTM but suggest a slightly different name for the new class.

llvm/lib/Transforms/IPO/FunctionImport.cpp Outdated Show resolved Hide resolved
@mtrofin mtrofin merged commit 24a0859 into llvm:main Sep 6, 2023
1 of 2 checks passed
avillega pushed a commit to avillega/llvm-project that referenced this pull request Sep 11, 2023
…#65427)

Added a class to hold such common state. The goal is to both reduce the argument list of other utilities used by `computeImportForModule` (which will be brought as members in a subsequent patch), and to make it easy to extend such state later.
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.

None yet

2 participants