about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_system.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2022-08-16 15:46:17 -0700
committerJosh Stone <jistone@redhat.com>2022-08-16 15:46:17 -0700
commit147032a61896db76e97bfde9fa0e711fd5e62b08 (patch)
treefe718c61f030fa8755318bb313e9207e28573883 /compiler/rustc_codegen_gcc/example/alloc_system.rs
parent5746c752f4e3f294cd252f7dd611a1908b12dd8e (diff)
downloadrust-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