]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #100653 - cuviper:fptoint_sat, r=michaelwoerister,antoyo
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Tue, 30 Aug 2022 11:26:09 +0000 (16:56 +0530)
committerGitHub <noreply@github.com>
Tue, 30 Aug 2022 11:26:09 +0000 (16:56 +0530)
commitc57a932c3f1235d93076a3925b226b9bdb9108fc
tree95e7eddae0fed6364be846cc415486d4c7d884b9
parent15e2e5185a22207b18d2cbc47a48b39e63e84cd0
parent147032a61896db76e97bfde9fa0e711fd5e62b08
Rollup merge of #100653 - cuviper:fptoint_sat, r=michaelwoerister,antoyo

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.
Cargo.lock