about summary refs log tree commit diff
path: root/src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff
diff options
context:
space:
mode:
authorHans Kratz <hans@appfour.com>2021-07-20 07:38:00 +0200
committerHans Kratz <hans@appfour.com>2021-08-04 23:36:13 +0200
commite89908231bede75f2e21959dfd851df85efd25c5 (patch)
tree6591dc6a88e7bfd7e04f2e80975ce83c9059b477 /src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff
parente4106581de25d31d94695372b299aa2c8b0bce8e (diff)
downloadrust-e89908231bede75f2e21959dfd851df85efd25c5.tar.gz
rust-e89908231bede75f2e21959dfd851df85efd25c5.zip
Don't cache projection if no padding is used.
In this case we can just return memory_index(index) which is readily available.
Diffstat (limited to 'src/test/mir-opt/lower_array_len.array_bound_mut.SimplifyLocals.diff')
0 files changed, 0 insertions, 0 deletions