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

Describe Compiler explorer usage #15

Open
ZuseZ4 opened this issue Jun 21, 2024 · 1 comment
Open

Describe Compiler explorer usage #15

ZuseZ4 opened this issue Jun 21, 2024 · 1 comment
Assignees

Comments

@ZuseZ4
Copy link
Member

ZuseZ4 commented Jun 21, 2024

in src/Debugging.md

@wsmoses Do you have the flag at hand in the compiler explorer (opt-17) to analyze a specific function? I want to add it to the docs here and I couldn't find it in enzyme core docs. The flags from the test don't seem to have an effect in the explorer.
e.g. -passes="print-type-analysis" -type-analysis-func=asdf compiles fine even if asdf doesn't exist (and doesn't do anything if asdf exists either). I remember they were slightly different online, but I can't remember how.

@ZuseZ4
Copy link
Member Author

ZuseZ4 commented Jul 23, 2024

Ref for the CI flags: https://github.com/EnzymeAD/Enzyme/blob/main/enzyme/test/TypeAnalysis/andptr.ll
And like with prev flags we probably want to teach enzyme to throw an error rather than silently do something surprising (nothing) if the function isn't found?

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

No branches or pull requests

2 participants