about summary refs log tree commit diff
path: root/src/test/codegen/slice-ref-equality.rs
AgeCommit message (Collapse)AuthorLines
2022-07-01Amend codegen test.Camille GILLOT-1/+1
2022-05-25Update some codegen tests for opaque pointersNikita Popov-9/+3
2021-12-14Do array-slice equality via arrays, rather than always via slicesScott McMurray-3/+16
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.
2021-07-08Stop generating `alloca`s+`memcmp` for simple array equalityScott McMurray-2/+17
2020-12-26Remove pointer comparison from slice equalitybors-0/+16
This resurrects #71735. Fixes #71602, helps with #80140. r? `@Mark-Simulacrum`