Skip to content

update gencodepass to filter the yield in dfg file#225

Merged
n0thingNoob merged 2 commits intomainfrom
testbench
Jan 3, 2026
Merged

update gencodepass to filter the yield in dfg file#225
n0thingNoob merged 2 commits intomainfrom
testbench

Conversation

@n0thingNoob
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 3, 2026 15:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GenerateCodePass to filter out YieldOp operations when building the dataflow graph (DFG) for code generation. The change ensures that yield operations, which are terminators and do not represent actual computational nodes, are excluded from the DFG nodes and edges.

Key changes:

  • Added filtering for YieldOp in the buildSsaNodesAndEdges function to skip yield operations during DFG construction

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@n0thingNoob n0thingNoob merged commit 8e01f5d into main Jan 3, 2026
1 check 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.

3 participants