]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #95649 - ouz-a:mir-opt, r=oli-obk
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Wed, 6 Apr 2022 21:06:06 +0000 (23:06 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 21:06:06 +0000 (23:06 +0200)
commit9fa941c23e18f2e7c838454d95e5526bf15201ed
tree09a59aa4ded0fc9890bc8a938c79198bfe66b9f0
parent76cd8f8bf0cb68febbe2c967db1ca4bc6eabf3aa
parent1cf6d6940c6e1368c76d2565ce13aeaa7e70a4b7
Rollup merge of #95649 - ouz-a:mir-opt, r=oli-obk

New mir-opt deref_separator

This adds a new mir-opt that split certain derefs into this form:
`let x = (*a.b).c;` to => `tmp = a.b; let x = (*tmp).c;`

Huge thanks to ``@oli-obk`` for his patient mentoring.