about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-31 18:04:29 +0000
committerbors <bors@rust-lang.org>2020-08-31 18:04:29 +0000
commit1d22f75c9f75cad2e408a145861904898ac982dd (patch)
tree53fb3b5b4874edc1af0910ed93f77f0d0e91b3cb /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent897ef3a0ec001b89fffe7125c20d6a6bb12fee6c (diff)
parentfa01ce802f1b403a2140fd945b43af86ec3998a1 (diff)
downloadrust-1d22f75c9f75cad2e408a145861904898ac982dd.tar.gz
rust-1d22f75c9f75cad2e408a145861904898ac982dd.zip
Auto merge of #76030 - davidtwco:fewer-names-llvm-type-of, r=eddyb
cg_llvm: `fewer_names` in `uncached_llvm_type`

This PR changes `uncached_llvm_type` so that a named struct type (with an empty name) is always created when the `fewer_names` option is enabled. By skipping the generation of names, we can improve perf. Giving `LLVMStructCreateNamed` an empty name works because LLVM will perform random renames to avoid collisions. Needs a perf run!

cc @eddyb (whom I've discussed this with)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions