Uh oh!
There was an error while loading. Please reload this page.
smoke-test for async fn with mir-opt-level=0 - #71444
Conversation
rust-highfive
commented
Apr 22, 2020
(rust_highfive has picked a reviewer for you, use r? to override) |
jonas-schievink
commented
Apr 22, 2020
I wouldn't do this for the size tests as those could be affected by other optimizations running. For the smoke tests this seems good though. |
RalfJung
commented
Apr 22, 2020
The size can be affected by MIR optimizations? |
be87eb1 to
9ea5eedCompareRalfJung
commented
Apr 22, 2020
Okay this does not touch the size tests any more. |
jonas-schievink
commented
Apr 22, 2020
Potentially yeah, at least in the future when we have some more advanced optimizations. |
RalfJung
commented
Apr 27, 2020
@jonas-schievink any chance you could review this? |
jonas-schievink
left a comment
There was a problem hiding this comment.
Looks good. If you want you can also do this for some of the generator tests for some more diversity. But generally r=me
RalfJung
commented
Apr 28, 2020
@jonas-schievink like so? |
jonas-schievink
commented
Apr 28, 2020
@bors r+ |
bors
commented
Apr 28, 2020
📌 Commit 3a129df has been approved by |
bors
commented
Apr 28, 2020
bors
commented
Apr 28, 2020
☀️ Test successful - checks-azure |
MIR opt levels heavily influence which MIR transformations run, and we barely test non-default opt levels. I am particularly worried about
async fnlowering and how it might (not) work when the set of preceding MIR passes changes -- see #70073.This adds some basic smoke testing, where at least a few
async fnrun-passtest are ensured to also work with mir-opt-level=0.