-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #70767 #74837
Fix #70767 #74837
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
☔ The latest upstream changes (presumably #73265) made this pull request unmergeable. Please resolve the merge conflicts. |
f7ceca8
to
3bc09e5
Compare
ah seems like i didn't generate the 32bit wide expectations. I'll have to run bless with a 32bit target i guess |
r? @oli-obk |
0fde18d
to
86dd7bd
Compare
I wasn't able to run 32 bit tests (mac) but I moved the test expectations manually to the top level so it should be good. We'll see if CI agrees. |
86dd7bd
to
271cb4d
Compare
src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff.all
Outdated
Show resolved
Hide resolved
4290676
to
18966f0
Compare
src/test/mir-opt/array_index_is_temporary.main.SimplifyCfg-elaborate-drops.after.mir.32bit
Outdated
Show resolved
Hide resolved
5f684af
to
3e968fe
Compare
Maybe due to the changed byte offsets in the file due to your comment changes? Did you rebase and re-bless? |
Yea, locally it seems to ignore the test when I bless because I don’t have a profiler set up, I’m still confused why branch CI passed if the test is wrong. |
Oh it's that test -.-. Yea, PR CI doesn't run a profiler either, only bors does that, and only on a single builder. Are you able to set up a profiler or should I try? |
I'm building with profiler support right now :), hopefully that's all i need to do |
7b2bf1f
to
f07607f
Compare
Rebuilt and blessed with profiling! |
@bors r+ |
📌 Commit f07607f has been approved by |
⌛ Testing commit f07607f with merge af37ac1f38010f0dd2439d552bf56ec22c709bae... |
💔 Test failed - checks-azure |
@bors retry network timeout |
☀️ Test successful - checks-actions, checks-azure |
This PR changes the format of MIR dump filenames to include the crate name rather than
rustc
at the start.As a result, we can now place mir-opt tests in the same directory as the source files, like with UI tests. I had to make sure that
compiletest
added a bit_width suffix to the expected files when appropriate but otherwise the change is only moving the files to the correct location and ensuring that theEMIT_MIR
lines are correct.Fixes #70767
cc @oli-obk