about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-02-12 14:21:05 +0100
committerGitHub <noreply@github.com>2020-02-12 14:21:05 +0100
commit79ebf53cbb659175e863cdc4ca6341ee934376fd (patch)
treee7323c3be168e687fe658ed3c8c6b0f6353588b3 /src/test/debuginfo/enum-thinlto.rs
parentcd5441faf4e56d136d7c05d5eb55b4a41396edaf (diff)
parent4e7aeaf1b52ee66ede1adb104fcd08b0463eb0f9 (diff)
downloadrust-79ebf53cbb659175e863cdc4ca6341ee934376fd.tar.gz
rust-79ebf53cbb659175e863cdc4ca6341ee934376fd.zip
Rollup merge of #67585 - ranma42:fix/char-is-ascii-codegen, r=Amanieu
Improve `char::is_ascii_*` codegen

This PR is an attempt to fix https://github.com/rust-lang/rust/issues/65127

A couple of warnings:
 1. the generated code might be further improved (in LLVM and/or MIR) by emitting better comparison sequences; in particular, this would improve the performance of "complex" checks such as those in `is_ascii_punctuation`
 2. the second commit is currently marked "DO NOT MERGE", because it regresses SIMD on `u8` slices; this could likely be fixed by improving the computation/usage of demanded bits in LLVM

An alternative approach to remove the code duplication might be the use of macros, but currently most of the duplication is actually in the doc comments, so maybe just keeping the redundancy could be ok
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions