about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-12-20 12:17:25 +0100
committerGitHub <noreply@github.com>2019-12-20 12:17:25 +0100
commitefd31c23e84a8208303edd3bc2045616a1dec8cc (patch)
treec66ab5a3e028bbd5001509f5e35650e0e5615272 /src/libstd/sys
parent403bb097fce6f1d1fbb3b7b12d024f20ce845900 (diff)
parent6ad0b55597d58f65b775cc32588d5cb396993c0c (diff)
downloadrust-efd31c23e84a8208303edd3bc2045616a1dec8cc.tar.gz
rust-efd31c23e84a8208303edd3bc2045616a1dec8cc.zip
Rollup merge of #67328 - rkruppe:simplify-u128-f32-cast, r=matthewjasper
Remove now-redundant range check on u128 -> f32 casts

This code was added to avoid UB in LLVM 6 and earlier, but we no longer support those LLVM versions.
Since https://reviews.llvm.org/D47807 (released in LLVM 7), uitofp does exactly what we need.

Closes #51872
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions