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

register passes on startup and delay parsing of command-line arguments #35402

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

vchuravy
Copy link
Member

@vchuravy vchuravy commented Apr 7, 2020

First register passes, then parse command line (similar to https://github.com/llvm/llvm-project/blob/3fefda6e578b431875405791bc7216595d767fbf/llvm/tools/llc/llc.cpp#L292-L330)

This allows us to set JULIA_LLVM_ARGS=--print-before= and target more than the statically registered Julia passes

@vchuravy vchuravy requested a review from vtjnash April 7, 2020 20:16
@vchuravy vchuravy merged commit 0747766 into master Apr 21, 2020
@vchuravy vchuravy deleted the vc/passregistry branch April 21, 2020 14:52
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.

1 participant