about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-02-20 00:37:30 +0100
committerGitHub <noreply@github.com>2022-02-20 00:37:30 +0100
commit7cd857dc344e265aa0dd763355bd59e9609d33a1 (patch)
tree2e3cc82f2fa47b88d9aa3b4e1ae0f9c019214814 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent39a50d829027c6377f288b9e96ff7382d98e5751 (diff)
parent7c3ebec0caf23a11773c8291005649dd488ca2ee (diff)
downloadrust-7cd857dc344e265aa0dd763355bd59e9609d33a1.tar.gz
rust-7cd857dc344e265aa0dd763355bd59e9609d33a1.zip
Rollup merge of #94112 - digama0:patch-3, r=scottmcm
Optimize char_try_from_u32

The optimization was proposed by ```````@falk-hueffner``````` in https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/Micro-optimizing.20char.3A.3Afrom_u32/near/272146171,  and I simplified it a bit and added an explanation of why the optimization is correct. The generated code is 2 instructions shorter and uses 2 registers instead of 4 on x86.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions