diff --git a/tests/opt/opt_expr_sub_not.ys b/tests/opt/opt_expr_sub_not.ys new file mode 100644 index 000000000..459ec0f94 --- /dev/null +++ b/tests/opt/opt_expr_sub_not.ys @@ -0,0 +1,100 @@ +# Rewrite (2^k-1)-x into ~x when x is known to be smaller than 2^k + +read_verilog -icells <