Open
Description
When providing the following as input to circt-opt
hw.module @ImplicitOverflow() {
%0 = smt.bv.constant #smt.bv<1> : !smt.bv<18446744073709551615>
}
it outputs
hw.module @ImplicitOverflow() {
%c1_bv4294967295 = smt.bv.constant #smt.bv<1> : !smt.bv<4294967295>
hw.output
}
Using !smt.bv<18446744073709551616>
as input expectedly triggers an error that the integer is too large.
Seems like we store it in some 32 bit integer at some point?