Skip to content

Conversation

@kroening
Copy link
Collaborator

@kroening kroening commented Oct 2, 2025

This replaces the custom code for type checking the operands of relations by the code used for other binary expressions. This fixes the downwards type/size propagation.

This cleans up verilog_typecheck_exprt::downwards_type_progatation to handle
all the cases in 1800-2017 11.8.2.
This removes the constant folding during towards type propagation in the
Verilog frontend, as this is premature optimisation.
This replaces the custom code for type checking the operands of relations by
the code used for other binary expressions.  This fixes the downwards
type/size propagation.
@kroening kroening force-pushed the verilog-max-ops-relations branch from 70f1837 to 4240ae8 Compare October 2, 2025 20:46
@tautschnig tautschnig merged commit 61c4615 into main Oct 8, 2025
11 checks passed
@tautschnig tautschnig deleted the verilog-max-ops-relations branch October 8, 2025 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants