Mark payload fields of ScalarPair enums as Scalar::Union when they're not always initialized#96197
Conversation
3dbfde8 to
b3fca0e
Compare
… not always initialized
b3fca0e to
1bbae50
Compare
|
I guess this is only layout code |
|
@bors r+ rollup=never this is strictly a bugfix, but it may have minor perf effects Thanks for fixing this so fast. I should've reviews those fishy parts better when implemented union scalars |
|
📌 Commit 1bbae50 has been approved by |
|
⌛ Testing commit 1bbae50 with merge 5c8ffbfda550e4f8e79cb3f8f153572e19d5ce29... |
This comment has been minimized.
This comment has been minimized.
|
💔 Test failed - checks-actions |
|
Looks like the alignments are higher on arm. Maybe ignore the test there? |
|
@bors r+ |
|
📌 Commit 4dcc1aa has been approved by |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (a8272f2): comparison url. Summary: This benchmark run did not return any relevant results. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. |
Fixes #96158
r? @RalfJung