Skip to content

[FTD] Extend HandshakeCombineSteeringLogic#965

Open
QinYuan2000 wants to merge 2 commits into
EPFL-LAP:mainfrom
QinYuan2000:pr-combine-steering-logic
Open

[FTD] Extend HandshakeCombineSteeringLogic#965
QinYuan2000 wants to merge 2 commits into
EPFL-LAP:mainfrom
QinYuan2000:pr-combine-steering-logic

Conversation

@QinYuan2000
Copy link
Copy Markdown
Collaborator

This PR adds more simplification patterns for steering logic generated by FTD.

Main changes:

  • Add a shared equivalence check for SSA values, constants, and NOT chains.
  • Merge equivalent NotIOp, MuxOp, and ConditionalBranchOp.
  • Remove double NOTs, and any MuxOp/ConditionalBranchOp/ConstantOp/SourceOp/NotIOp whose results are all unused.
  • Replace branch conditions that are already known with constants.
  • Short-circuit branches with a constant condition, and collapse muxes whose two data inputs are identical.
  • Split mux-conditioned branches into nested branches to expose a mergeable outer branch.

@QinYuan2000 QinYuan2000 requested a review from AyaElAkhras June 6, 2026 02:46
@QinYuan2000 QinYuan2000 changed the title Extend HandshakeCombineSteeringLogic [FTD] Extend HandshakeCombineSteeringLogic Jun 8, 2026
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.

1 participant