diff options
| author | Josh Stone <jistone@redhat.com> | 2022-08-16 15:46:17 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2022-08-16 15:46:17 -0700 |
| commit | 147032a61896db76e97bfde9fa0e711fd5e62b08 (patch) | |
| tree | fe718c61f030fa8755318bb313e9207e28573883 /compiler/rustc_codegen_gcc/example/alloc_system.rs | |
| parent | 5746c752f4e3f294cd252f7dd611a1908b12dd8e (diff) | |
| download | rust-147032a61896db76e97bfde9fa0e711fd5e62b08.tar.gz rust-147032a61896db76e97bfde9fa0e711fd5e62b08.zip | |
Move the cast_float_to_int fallback code to GCC
Now that we require at least LLVM 13, that codegen backend is always using its intrinsic `fptosi.sat` and `fptoui.sat` conversions, so it doesn't need the manual implementation. However, the GCC backend still needs it, so we can move all of that code down there.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_system.rs')
0 files changed, 0 insertions, 0 deletions
