You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a number of cases where due to simplifications on operations such as x^x or x-x we allow intermediate overflows.
This came up recently in #7189 where the program below started to pass due to being able to simplify var1 to 0 and then removing all the overflows through dead instruction elimination.
We should pay attention to whether we want to perform dead instruction elimination in these cases or if we should preserve the addition/subtractions at least to maintain checked arithmetic.
The text was updated successfully, but these errors were encountered:
There's a number of cases where due to simplifications on operations such as
x^x
orx-x
we allow intermediate overflows.This came up recently in #7189 where the program below started to pass due to being able to simplify
var1
to 0 and then removing all the overflows through dead instruction elimination.We should pay attention to whether we want to perform dead instruction elimination in these cases or if we should preserve the addition/subtractions at least to maintain checked arithmetic.
The text was updated successfully, but these errors were encountered: