Uh oh!
There was an error while loading. Please reload this page.
-Zvalidate-mir: Assert that storage is allocated on local use - #77369
Conversation
rust-highfive
commented
Sep 30, 2020
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
jonas-schievink
commented
Sep 30, 2020
r? @wesleywiser We now run an extra data flow pass, so this could impact perf. @bors try @rust-timer queue |
rust-timer
commented
Sep 30, 2020
Awaiting bors try build completion |
bors
commented
Sep 30, 2020
⌛ Trying commit 36365b35ee72d8cfde7949f55517832878a754c0 with merge d952cf6887b310e5009157bddd5894b5f54cb31b... |
jonas-schievink
commented
Sep 30, 2020
rust-log-analyzer
commented
Sep 30, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
jonas-schievink
commented
Sep 30, 2020
@bors r- |
jonas-schievink
commented
Sep 30, 2020
@bors retry |
wesleywiser
commented
Oct 1, 2020
@bors try |
bors
commented
Oct 1, 2020
⌛ Trying commit 36365b35ee72d8cfde7949f55517832878a754c0 with merge 1bdd5353b898fca7dc1cc8e53331d72c296eea8a... |
jonas-schievink
commented
Oct 1, 2020
This needs #77396 before bootstrapping will work |
rust-log-analyzer
commented
Oct 1, 2020
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
bors
commented
Oct 1, 2020
💔 Test failed - checks-actions |
jonas-schievink
commented
Oct 1, 2020
Pushed a temp. commit that disables the pass to get perf data @bors try @rust-timer queue |
rust-timer
commented
Oct 1, 2020
Awaiting bors try build completion |
bors
commented
Oct 1, 2020
⌛ Trying commit e32bb31b958b87a677515ca5881169f88a20aca6 with merge 6c70b42c961226e0059a4aa0bef7f315aad8ad8c... |
bors
commented
Oct 2, 2020
☀️ Try build successful - checks-actions, checks-azure |
rust-timer
commented
Oct 2, 2020
Queued 6c70b42c961226e0059a4aa0bef7f315aad8ad8c with parent 8fe73e8, future comparison URL. |
rust-timer
commented
Oct 2, 2020
Finished benchmarking try commit (6c70b42c961226e0059a4aa0bef7f315aad8ad8c): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
wesleywiser
left a comment
There was a problem hiding this comment.
This looks great and #77396 just merged so you should be able to bootstrap now.
jonas-schievink
commented
Oct 2, 2020
@bors r=wesleywiser |
bors
commented
Oct 2, 2020
📌 Commit c47011f has been approved by |
bors
commented
Oct 2, 2020
⌛ Testing commit c47011f with merge c7ec262b251125405b06f5b4f71a143146f54a93... |
bors
commented
Oct 2, 2020
💔 Test failed - checks-actions |
jonas-schievink
commented
Oct 2, 2020
@bors retry |
bors
commented
Oct 2, 2020
bors
commented
Oct 2, 2020
☀️ Test successful - checks-actions, checks-azure |
…cation, r=wesleywiser Disable MatchBranchSimplification This optimization can result in unsoundness, because it introduces additional uses of a place holding the discriminant value without ensuring that it is valid to do so. Found by validation from rust-lang#77369 / rust-lang#78147.
This extends the MIR validator to check that locals are only used when their backing storage is currently allocated via
StorageLive.The result of this is that miscompilations such as #77359 are caught and turned into ICEs.
The PR currently fails tests because miscompilations such as #77359 are caught and turned into ICEs.
I have confirmed that tests pass (even with
-Zvalidate-mir) onceSimplifyArmIdentityis turned into a no-op (except mir-opt tests, of course).