about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorJules Bertholet <julesbertholet@quoi.xyz>2022-11-07 13:10:36 -0500
committerJules Bertholet <julesbertholet@quoi.xyz>2022-12-11 01:20:18 -0500
commit20d6292596c86b0610074def2f426a25443ecb6d (patch)
treeb65cfb34c03cb2220d9ea0276164b32f01bcd6a9 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent36cd4fab22afc9e08d03fb9ce91049553d0e78ad (diff)
downloadrust-20d6292596c86b0610074def2f426a25443ecb6d.tar.gz
rust-20d6292596c86b0610074def2f426a25443ecb6d.zip
Use rint instead of roundeven
Use rint intrinsic instead of roundeven to impement `round_ties_even`. They do the same thing when rounding mode is default, which Rust assumes.
And `rint` has better platform support.

Keeps `roundeven` around in `core::intrinsics`, it's doing no harm there.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions