diff options
| author | Robin Kruppe <robin.kruppe@gmail.com> | 2017-11-10 00:24:05 +0100 |
|---|---|---|
| committer | Robin Kruppe <robin.kruppe@gmail.com> | 2017-11-10 10:12:30 +0100 |
| commit | 59524410a7eb3c6afe3ac01b4257d916efe2421b (patch) | |
| tree | 155dd4768dfc1aff7795dba6784126f9f90326e3 /src/rustllvm/RustWrapper.cpp | |
| parent | f1ea23e2cc72cafad1dc25a06c09ec2de8e323eb (diff) | |
| download | rust-59524410a7eb3c6afe3ac01b4257d916efe2421b.tar.gz rust-59524410a7eb3c6afe3ac01b4257d916efe2421b.zip | |
Make saturating u128 -> f32 casts the default behavior
... rather than being gated by -Z saturating-float-casts. There are several reasons for this: 1. Const eval already implements this behavior. 2. Unlike with float->int casts, this behavior is uncontroversially the right behavior and it is not as performance critical. Thus there is no particular need to make the bug fix for u128->f32 casts opt-in. 3. Having two orthogonal features under one flag is silly, and never should have happened in the first place. 4. Benchmarking float->int casts with the -Z flag should not pick up performance changes due to the u128->f32 casts (assuming there are any). Fixes #41799
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
