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

[MLGO] Add ability to extract IR from bazel using aquery #96964

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

boomanaiden154
Copy link
Contributor

This patch adds in support for extracting IR from binaries built with bazel through querying the linker command line using bazel aquery.

This patch adds in support for extracting IR from binaries built with
bazel through querying the linker command line using bazel aquery.
@boomanaiden154 boomanaiden154 requested a review from mtrofin June 27, 2024 20:51
Copy link
Member

@mtrofin mtrofin left a comment

Choose a reason for hiding this comment

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

lgtm, some nits

llvm/utils/mlgo-utils/mlgo/corpus/extract_ir.py Outdated Show resolved Hide resolved
@boomanaiden154 boomanaiden154 merged commit 4134b33 into llvm:main Jun 27, 2024
3 of 4 checks passed
@boomanaiden154 boomanaiden154 deleted the extract-ir-bazel-aquery branch June 27, 2024 21:28
lravenclaw pushed a commit to lravenclaw/llvm-project that referenced this pull request Jul 3, 2024
This patch adds in support for extracting IR from binaries built with
bazel through querying the linker command line using bazel aquery.
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