Legalize: replace `safety_checked_instructions`

This adds 4 `Legalize.Feature`s:
* `expand_intcast_safe`
* `expand_add_safe`
* `expand_sub_safe`
* `expand_mul_safe`

These do pretty much what they say on the tin. This logic was previously
in Sema, used when `Zcu.Feature.safety_checked_instructions` was not
supported by the backend. That `Zcu.Feature` has been removed in favour
of this legalization.
4c4dacf81amlugg committed on 6/1/2025, 7:24:00 AMparent77e6513
10 files changedLine totals unavailable