Skip to content

Conversation

@MrRoy09
Copy link

@MrRoy09 MrRoy09 commented Nov 8, 2025

Adds canonicalization patterns and tests for comb.truth_table:

  • Folds truth tables with constant output (all true or all false entries) into hw.constant
  • Simplifies truth tables that depend on a single input to the corresponding input value
  • Adds tests verifying canonicalization behavior for comb.truth_table

Closes #8925

@MrRoy09 MrRoy09 requested a review from darthscsi as a code owner November 8, 2025 14:38
@MrRoy09 MrRoy09 force-pushed the comb/canonicalize-truth-table branch from bacdbbc to 5ff85a1 Compare November 9, 2025 18:57
@MrRoy09 MrRoy09 force-pushed the comb/canonicalize-truth-table branch from 5ff85a1 to 0091687 Compare November 9, 2025 18:59
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.

[Comb] Fold comb.truth_table when truth table depends on a single operand

1 participant