about summary refs log tree commit diff
path: root/src/test/codegen/slice-init.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-64/+0
2022-05-25Update some codegen tests for opaque pointersNikita Popov-6/+6
2018-12-25Remove licensesMark Rousskov-10/+0
2017-11-19rustc_trans: use more of the trans::mir and ty::layout APIs throughout.Eduard-Mihai Burtescu-6/+6
2017-08-05codegen tests: Check type of `len` argument to `llvm.memset.*` based on the ↵Florian Zeitz-3/+3
exact intrinsic used
2017-07-26trans: Optimize initialization using repeat expressionsFlorian Zeitz-0/+74
This elides initialization for zero-sized arrays: * for zero-sized elements we previously emitted an empty loop * for arrays with a length of zero we previously emitted a loop with zero iterations This emits llvm.memset() instead of a loop over each element when: * all elements are zero integers * elements are byte sized