about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/write.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2021-12-11 15:29:52 -0800
committerScott McMurray <scottmcm@users.noreply.github.com>2021-12-14 13:15:15 -0800
commita0b96902e4c622d40c7186fc0c7ba13efc1fc912 (patch)
treec19077465a770d87052fce16fefe419ab3036c0c /compiler/rustc_codegen_llvm/src/back/write.rs
parent404c8471aba60c2d837fa728e7c729a0f52d5830 (diff)
downloadrust-a0b96902e4c622d40c7186fc0c7ba13efc1fc912.tar.gz
rust-a0b96902e4c622d40c7186fc0c7ba13efc1fc912.zip
Do array-slice equality via arrays, rather than always via slices
This'll still go via slices eventually for large arrays, but this way slice comparisons to short arrays can use the same memcmp-avoidance tricks.

Added some tests for all the combinations to make sure I didn't accidentally infinitely-recurse something.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions