about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2024-01-17 13:53:25 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2024-01-17 20:24:20 -0500
commite68f3039d4f2b12dcfc348ebb50fd7855e6d7fd1 (patch)
treefbc3143902ce338311d7ff7efe8e14dd7edd3cc6 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff
parentc58a5da7d48ff3887afe4c618dc04defdee3dab5 (diff)
downloadrust-e68f3039d4f2b12dcfc348ebb50fd7855e6d7fd1.tar.gz
rust-e68f3039d4f2b12dcfc348ebb50fd7855e6d7fd1.zip
Optimize large array creation in const-eval
This changes repeated memcpy's to a memset for the case that we're
propagating a single byte into a region of memory.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions