about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-09-21 22:04:16 +0000
committerbors <bors@rust-lang.org>2020-09-21 22:04:16 +0000
commitf47df31ae5d7d9795399dca3a0003c1856900361 (patch)
tree7cb0d3796f11a7d51a38ae82bc51a03809c5b686 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentfb1dc34a831688f8eca89ea22ea2eb39e881d729 (diff)
parentdfc469ddae5b13a611f70eef27e6d60dbbce3445 (diff)
downloadrust-f47df31ae5d7d9795399dca3a0003c1856900361.tar.gz
rust-f47df31ae5d7d9795399dca3a0003c1856900361.zip
Auto merge of #76683 - simonvandel:inst-combine-deref, r=oli-obk
Add optimization to avoid load of address

Look for the sequence
```rust
_2 = &_1;
...
_5 = (*_2)
```

in which we can replace the last statement with `_5 = _1` to avoid the load of _2
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions