Commit 9df171e
committed
Simplify byte extract: support signed and unsigned offsets
The minimized example from #7357 resulted in an invariant failure in
`solvers/flattening/boolbv_add_sub.cpp`, reporting "add/sub with mixed
types." This was caused by simplifying nested byte-extract operations
where one used unsigned offsets and the other one signed. Since we do
not required a particular type for byte-extract offsets we must cope
with different offset types when folding nested byte-extract operations
into a single one.1 parent e7787ad commit 9df171e
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1660 | 1660 | | |
1661 | 1661 | | |
1662 | 1662 | | |
1663 | | - | |
1664 | | - | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
1665 | 1667 | | |
1666 | 1668 | | |
1667 | 1669 | | |
| |||
0 commit comments