Commit c1314ae
committed
Value-set: replace unsound typecast simplification with simplify_expr
Previously this would simplify ((struct A)x).y into x.y regardless of whether the two
structures both have a member y, or whether it is colocated in the two types. Now that
the simplifier can soundly simplify such an expression we should just use that instead.1 parent 71fc87d commit c1314ae
1 file changed
+4
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1630 | 1630 | | |
1631 | 1631 | | |
1632 | 1632 | | |
1633 | | - | |
1634 | | - | |
1635 | | - | |
1636 | | - | |
1637 | | - | |
1638 | | - | |
1639 | | - | |
1640 | | - | |
1641 | | - | |
1642 | | - | |
1643 | | - | |
1644 | | - | |
1645 | | - | |
1646 | | - | |
1647 | | - | |
1648 | | - | |
1649 | | - | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
1656 | | - | |
1657 | | - | |
1658 | | - | |
1659 | | - | |
1660 | | - | |
1661 | | - | |
1662 | 1633 | | |
1663 | | - | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
1664 | 1637 | | |
1665 | | - | |
| 1638 | + | |
1666 | 1639 | | |
0 commit comments