Skip to content

Conversation

@dominicmkennedy
Copy link
Contributor

Lowering from MLIR to C++ has been broken in the upstream xdsl-smt repo for a quite some, while the synthesizing transfer functions repository has made a bunch of project specific changes to the lowering. This PR aims to fix the lowering in the xdsl-smt repo, without adding any synth-transformers specific code.
Note that type checking has been turned back on in xdsl_smt/utils/lower_utils.py and xdsl_smt/passes/transfer_lower.py which will hopefully make this more maintainable in the future.
Also I do not have a huge corpus of MLIR files on my machine, so further testing would be hugely appreciated

@Hatsunespica
Copy link
Collaborator

Can you add some tests?

@dominicmkennedy
Copy link
Contributor Author

yep just added some, Yuyou

@dominicmkennedy dominicmkennedy marked this pull request as draft September 29, 2025 20:04
@dominicmkennedy
Copy link
Contributor Author

@math-fehr, I added a feature in the lowering section that Yuyou and I need for the eval section of our POPL submission, also it seems like xdsl-smt/passes/transfer_lower.py and xdsl-smt/utils/lower_utils.py should maybe just be one file, thoughts?

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