Uh oh!
There was an error while loading. Please reload this page.
Always evaluate constant operands in const-prop - #98426
Conversation
Uh oh!
There was an error while loading. Please reload this page.
lcnr
commented
Jun 24, 2022
@bors try @rust-timer queue this might actually impact perf, if unlikely |
rust-timer
commented
Jun 24, 2022
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
bors
commented
Jun 24, 2022
⌛ Trying commit 18e0d916581dc54ddd13e1643d25c81408ad1987 with merge 67ad21cde5ced3782151744e37f78e23af0e8b24... |
bors
commented
Jun 24, 2022
☀️ Try build successful - checks-actions |
rust-timer
commented
Jun 24, 2022
Queued 67ad21cde5ced3782151744e37f78e23af0e8b24 with parent d017d59, future comparison URL. |
rust-timer
commented
Jun 24, 2022
Finished benchmarking commit (67ad21cde5ced3782151744e37f78e23af0e8b24): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @bors rollup=never Footnotes |
lcnr
commented
Jun 24, 2022
the way that mostly I consider this a bug fix. @bors r+ |
bors
commented
Jun 24, 2022
📌 Commit 18e0d916581dc54ddd13e1643d25c81408ad1987 has been approved by |
RalfJung
commented
Jun 28, 2022
Const-prop does not run in the body of a I am fairly sure I added a test for this so it's probably fine, just double-checking. :) |
bors
commented
Jun 28, 2022
⌛ Testing commit 18e0d916581dc54ddd13e1643d25c81408ad1987 with merge efa8ecf1ad8601a2b9aa8549d40052761450cc9d... |
bors
commented
Jun 28, 2022
💔 Test failed - checks-actions |
Dylan-DPC
commented
Jun 28, 2022
@bors retry |
b-naber
commented
Jun 28, 2022
@Dylan-DPC this doesn't look spurious. Can you r- this, please? |
RalfJung
commented
Jun 28, 2022
@bors r- |
This comment has been minimized.
This comment has been minimized.
JohnCSimon
commented
Jul 24, 2022
Triage: |
b-naber
commented
Jul 28, 2022
I don't know why these lints are output on that machine (which seems to be a 64-bit machine): This looks like a miri-related lint, @RalfJung do you have any idea why we get those lints on that machine, but not on the ones in the PR CI? |
RalfJung
commented
Jul 28, 2022
Maybe different flags? Debug vs release mode can make a difference. |
RalfJung
commented
Jul 28, 2022
Also make sure you rebase, there have been some changes wrt binop overflow checking a few weeks ago. |
Uh oh!
There was an error while loading. Please reload this page.
18e0d91 to
5726ed7Comparerustbot
commented
Aug 4, 2022
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
This comment has been minimized.
This comment has been minimized.
rust-log-analyzer
commented
Aug 4, 2022
The job Click to see the possible cause of the failure (guessed by this bot) |
b-naber
commented
Aug 4, 2022
The error we get in the failing mir-opt test looks wrong. |
oli-obk
left a comment
There was a problem hiding this comment.
I guess the failing mir opt test shows that we fail to add some constants to https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/struct.Body.html#structfield.required_consts though I don't know why, how or where.
| - name: dist-i586-gnu-i586-i686-musl | ||
| os: ubuntu-20.04-xl | ||
| env: {} |
There was a problem hiding this comment.
did this accidentally get added during a rebase?
| - name: dist-i586-gnu-i586-i686-musl | ||
| <<: *job-linux-xl | ||
RalfJung
commented
Aug 25, 2022
Promoteds don't get added there. That is by design since their evaluation cannot fail (in Not sure if that's the issue here, though. |
bors
commented
Aug 29, 2022
☔ The latest upstream changes (presumably #101152) made this pull request unmergeable. Please resolve the merge conflicts. |
b-naber
commented
Aug 30, 2022
I'm going to close this, not familiar enough with const prop to tell what's really going on here. |
r? @lcnr