diff options
| author | yvt <i@yvt.jp> | 2022-04-01 13:54:51 +0900 |
|---|---|---|
| committer | yvt <i@yvt.jp> | 2022-04-06 01:48:37 +0900 |
| commit | 00677e51596f89325551e99c2d30bd39ae381e0c (patch) | |
| tree | 75f9f1d6d0a14ec4b81fd6813f5ae71256bfdb35 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff | |
| parent | 837a4467bc98471d5619e76cc47eac3b9a471d28 (diff) | |
| download | rust-00677e51596f89325551e99c2d30bd39ae381e0c.tar.gz rust-00677e51596f89325551e99c2d30bd39ae381e0c.zip | |
Implement `saturating_{add, sub}` for non-native integer types
Updates their unsigned code paths to use the `Builder::gcc_` methods that automatically lower non-native integer operations to native ones. Also updates the signed code path of `saturating_add` to support non- native integer types. That of `saturating_sub` already supports this, so no major changes have been made.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
