3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-10 21:20:53 +00:00

fmt: fuzz, remove some unnecessary busywork

Removing some signed checks and logic where we've already guaranteed the
values to be positive.  Indeed, in these cases, if a negative value got
through (per my realisation in the signed fuzz harness), it would cause
an infinite loop due to flooring division.
This commit is contained in:
Charlotte 2023-06-28 11:51:24 +10:00 committed by Marcelina Kościelnicka
parent 2ae551c0af
commit 3571bf2c2d
4 changed files with 55 additions and 20 deletions

View file

@ -17,6 +17,7 @@ add_executable(
x_test
x_test.cc
../../../libs/bigint/BigUnsigned.cc
../../../libs/bigint/BigInteger.cc
)
link_fuzztest(x_test)