Skip to content

redpiler: allow nodes to map to multiple blocks#233

Merged
StackDoubleFlow merged 1 commit into
masterfrom
dev/stack/bram-multi-block-nodes
Apr 5, 2026
Merged

redpiler: allow nodes to map to multiple blocks#233
StackDoubleFlow merged 1 commit into
masterfrom
dev/stack/bram-multi-block-nodes

Conversation

@StackDoubleFlow

Copy link
Copy Markdown
Member

This change was split out of #222 for easier review.

This patch allows one node to store multiple block locations in the compile graph. When two or more nodes get coalesced into one, that one node can now store the location of all source nodes. As a result, when running with -O, block changes of nodes that were combined can still be flushed to the world.

Co-authored-by: Bram Otte <bram@otte.biz>
@BramOtte

BramOtte commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Looks good to me, basically the same as in my PR.
I do wonder if this effects flush performance but I assume its not too significant for the cases that weren't broken before.

@StackDoubleFlow

Copy link
Copy Markdown
Member Author

Right, especially if you're running with --io-only, I can't imagine the change being that significant.

@StackDoubleFlow StackDoubleFlow merged commit 8236461 into master Apr 5, 2026
11 checks passed
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