rust-lang / rustc_codegen_cranelift

Cranelift based backend for rustc
Apache License 2.0
1.63k stars 101 forks source link

Remove unneeded libcalls from `codegen_i128.rs` #1519

Closed beetrees closed 4 months ago

beetrees commented 4 months ago

All 4 Cranelift backends now support 128-bit multiplication, so the libcall for it can be removed. Additionally, the checked add/sub implementation in num.rs works for 128-bit integers, so the libcalls for them can also be removed.

bjorn3 commented 4 months ago

Thanks!