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

[MLIR] Place async.drop_ref operations when identical code folding is applied to basic blocks. #997

Open
erick-xanadu opened this issue Aug 6, 2024 · 0 comments

Comments

@erick-xanadu
Copy link
Contributor

erick-xanadu commented Aug 6, 2024

The requirement here identical code folding (also known as mergeIdenticalBlocks) can be run before the add-exception-handling-pass. See ticket #995 . Something that would also be good is improve the pass pipeline interface for conditional passes. Something like:

        "convert-catalyst-to-llvm",
        "convert-quantum-to-llvm",
        "convert-async-to-llvm" if config.async else None,  # or `else ""`
        "add-exception-handling",
        "emit-catalyst-py-interface",

Would be nice.

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

1 participant