Repository navigation
Conversation
|
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
There was a problem hiding this comment.
Hmm, that seems to check a wrong thing now. Everything is rewritten in terms of _arg (_3 in MIR) as opposed to _3 (_4 in MIR). The storage statements are presumably gone, since _arg didn't have any in the first place.
There was a problem hiding this comment.
Yeah. I think the only thing this test is preventing relies on MIR that we now rule out in validation. And I think it had to set -Zlint_mir=false because the MIR that it's using confuses linting by having a StorageDead on an argument 🤦
There was a problem hiding this comment.
In addition to using storage statements on arguments, it was also broken by another commit. That being said, I think it still makes sense to keep it. Please take a look at tmiasko@7c37403.
e03a39e to
33e65e2
Compare
This comment has been minimized.
This comment has been minimized.
33e65e2 to
fb9c3ca
Compare
Per #164237 (comment)