Uh oh!
There was an error while loading. Please reload this page.
add visit_operand to const prop - #74507
Conversation
There was a problem hiding this comment.
oh god these comments are really annoying 😆
There was a problem hiding this comment.
i really wish there rwas a way to suppress all the comments in MIR dumps
There was a problem hiding this comment.
awesome! later passes will replace this with a goto now
oli-obk
commented
Jul 19, 2020
@bors try @rust-timer build let's do a perf run so we know whether we can let it get rolled up or not |
bors
commented
Jul 19, 2020
⌛ Trying commit 9ea645fc8ea275b1a5b868258fe6021c6ac36578 with merge 23214cf1fdf15e1a92e0d297e6de7123d713c9ff... |
bors
commented
Jul 19, 2020
☀️ Try build successful - checks-actions, checks-azure |
rust-timer
commented
Jul 19, 2020
Queued 23214cf1fdf15e1a92e0d297e6de7123d713c9ff with parent 47ea6d9, future comparison URL. |
rust-timer
commented
Jul 19, 2020
Finished benchmarking try commit (23214cf1fdf15e1a92e0d297e6de7123d713c9ff): comparison url. |
Uh oh!
There was an error while loading. Please reload this page.
| } | ||
| TerminatorKind::SwitchInt { ref mut discr, .. } => { | ||
| // FIXME: This is currently redundant with `visit_operand`, but sadly | ||
| // always visiting operands currently causes a perf regression, so |
There was a problem hiding this comment.
could be worth mentioning the perf regression is not due to the cost of actually visiting the operands but the changes it causes to MIR code
oli-obk
commented
Jul 22, 2020
r=me with more info on the perf regression on that comment |
lcnr
commented
Jul 22, 2020
referenced LLVM in the fixme, not sure if you want anything else mentioned. |
oli-obk
commented
Jul 22, 2020
@bors r+ |
bors
commented
Jul 22, 2020
📌 Commit d257bac has been approved by |
bors
commented
Jul 22, 2020
🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened |
add `visit_operand` to const prop r? @oli-obk
add `visit_operand` to const prop r? @oli-obk
add `visit_operand` to const prop r? @oli-obk
Manishearth
commented
Jul 22, 2020
Should this be rollup=never? |
Not sure, this shouldn't change anything for |
Uh oh!
There was an error while loading. Please reload this page.
bors
commented
Jul 23, 2020
⌛ Testing commit d257bac with merge 88172d158a88b12df391690503ba19bcb7b18e19... |
lcnr
commented
Jul 23, 2020
@bors r- |
This comment has been minimized.
This comment has been minimized.
bors
commented
Jul 23, 2020
💔 Test failed - checks-actions |
RalfJung
commented
Jul 24, 2020
LGTM; let's see what @oli-obk says. |
oli-obk
commented
Jul 24, 2020
this visits unevaluated constants and potentially evaluates them again, so that change is definitely an improvement @bors r+ |
bors
commented
Jul 24, 2020
📌 Commit 61a9ab8 has been approved by |
add `visit_operand` to const prop r? @oli-obk
Manishearth
commented
Jul 24, 2020
@bors treeclosed- |
bors
commented
Jul 24, 2020
bors
commented
Jul 24, 2020
☀️ Test successful - checks-actions, checks-azure |
r? @oli-obk