Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SMT's (div 0 0) == 0xffff, which is annoying Usually it doesn't matter because we make it UB when divisor=0 But with undef, things get complicated when undef vars are not quantified. We could fix this properly with either some quantifiers or by wrapping around div But that's expensive, so we const fold (div 0 x) -> 0 only.
- Loading branch information