1
Fork 0

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.
This commit is contained in:
Josh Stone 2022-08-16 15:46:17 -07:00
parent 5746c752f4
commit 147032a618
6 changed files with 177 additions and 170 deletions

View file

@ -3721,7 +3721,6 @@ dependencies = [
"object 0.29.0",
"pathdiff",
"regex",
"rustc_apfloat",
"rustc_arena",
"rustc_ast",
"rustc_attr",