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

Implement emitting zero at the start of the block in frontend_wasm::ssa::emit_zero #40

Closed
greenhat opened this issue Oct 19, 2023 · 1 comment
Assignees
Labels
frontend wasm WebAssembly frontend

Comments

@greenhat
Copy link
Contributor

Extracted from #22 (comment)

The DataFlowGraph provides insert_inst as a primitive, which allows you to specify an InsertionPoint, which can be either the start/end of a Block, or before/after an Inst, but I haven't exposed that in a very convenient way in the DefaultInstBuilder. All of the InstBuilder implementations actually use this under the covers, so its really just a matter of surfacing it better in one of the builders.

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

No branches or pull requests

1 participant