about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-25 00:20:43 +0000
committerbors <bors@rust-lang.org>2022-07-25 00:20:43 +0000
commitbabff2211e3ae9ef52852dc1b01f3eacdd94c12e (patch)
treebd54c992772691b4f4d2e0edbdaff92c9f5e3e40 /compiler/rustc_codegen_gcc
parent3ae03e027a66744e934a7bfa7127256489bed3c2 (diff)
parent86d445eda8ca2d884551fd0ac00a89e4bfe1cc81 (diff)
downloadrust-babff2211e3ae9ef52852dc1b01f3eacdd94c12e.tar.gz
rust-babff2211e3ae9ef52852dc1b01f3eacdd94c12e.zip
Auto merge of #97581 - AngelicosPhosphoros:improve_calloc_check_in_vec_macro_for_tuples, r=Mark-Simulacrum
Support vec zero-alloc optimization for tuples and byte arrays

* Implement IsZero trait for tuples up to 8 IsZero elements;
* Implement IsZero for u8/i8, leading to implementation of it for arrays of them too;
* Add more codegen tests for this optimization.
* Lower size of array for IsZero trait because it fails to inline checks
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions