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

[HandshakeToDC] Missing cf conversions and memory stuff #7826

Open
teqdruid opened this issue Nov 15, 2024 · 3 comments
Open

[HandshakeToDC] Missing cf conversions and memory stuff #7826

teqdruid opened this issue Nov 15, 2024 · 3 comments
Assignees

Comments

@teqdruid
Copy link
Contributor

HandshakeToHW also lowers the arith and malloc dialects. This is missing from the DC flow. It should probably get pulled out into a separate pass.

@teqdruid teqdruid changed the title [HandshakeToDC] Missing arith conversions and memory stuff [HandshakeToDC] Missing cf conversions and memory stuff Nov 19, 2024
@teqdruid
Copy link
Contributor Author

teqdruid commented Nov 20, 2024

For arith, I just found the map-arith-to-comb pass.

@mortbopet
Copy link
Contributor

For arith, I just found the map-arith-to-comb pass.

Usage of this should be orthogonal to HandshakeToDC. I think the best thing to do here is to have a default fallback lowering of non-"special" operations in HandshakeToDC which inserts a join for it's operand (i.e. a unit rate actor. HandshakeToHW does this extremely poorly since it was written before map-arith-to-comb... hence it essentially custom-implements map-arith-to-comb.

Unsure what you mean with malloc dialect; are you referring to the handshake memory operations?

@teqdruid
Copy link
Contributor Author

teqdruid commented Nov 26, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants