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

Environment variable support to dump the pass pipeline string created by the python experts #11

Open
nicolasvasilache opened this issue Nov 22, 2021 · 2 comments
Labels
good first issue Good for newcomers

Comments

@nicolasvasilache
Copy link
Contributor

No description provided.

@nicolasvasilache nicolasvasilache added the good first issue Good for newcomers label Nov 22, 2021
@13hulk
Copy link

13hulk commented Nov 23, 2021

@nicolasvasilache Could you please provide more details?

@nicolasvasilache
Copy link
Contributor Author

Hi @vikasbz

Basically here: https://github.com/google/iree-llvm-sandbox/blob/main/python/core/transforms.py#L15

We would need to print the self.pipeline if some TBD os.getenv is set.

I am unsure about ergonomics atm (e.g. print and exit, or print and continue and risk the string to be lost in other debug info).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants