Insert alignment checks for pointer dereferences when debug assertions are enabled#98112
Insert alignment checks for pointer dereferences when debug assertions are enabled#98112bors merged 8 commits intorust-lang:masterfrom
Conversation
f6d745b to
b8965f5
Compare
This comment has been minimized.
This comment has been minimized.
b8965f5 to
9f36630
Compare
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #98649) made this pull request unmergeable. Please resolve the merge conflicts. |
9f36630 to
caf7082
Compare
|
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt This PR changes MIR |
|
Oh heck I did not need everyone to be summoned like this |
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #98206) made this pull request unmergeable. Please resolve the merge conflicts. |
caf7082 to
54eb093
Compare
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #101858) made this pull request unmergeable. Please resolve the merge conflicts. |
54eb093 to
a878c4a
Compare
This comment has been minimized.
This comment has been minimized.
a878c4a to
6f8274c
Compare
This comment has been minimized.
This comment has been minimized.
f700f3b to
be80cb2
Compare
This comment has been minimized.
This comment has been minimized.
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
|
⌛ Trying commit be80cb2b565657734acfd69f75331a1d8200d517 with merge 64fdee20bfba2e2033f0df0374119c0461ae4d2e... |
|
☀️ Try build successful - checks-actions |
Closes #54915
MirPatch, but I can't figure out how to insert a new basic block with a new terminator in the middle of an existing basic block, usingMirPatch. (if nobody else backs up this point I'm checking this as "not actually a good idea" because the code looks pretty clean to me after rearranging it a bit)CastKind::PointerExposeAddressis definitely wrong, we don't want to expose. Calling a function to get the pointer address seems quite excessive.I'll see if I can add a newCastKind.CastKind::Transmuteto the rescue!r? @oli-obk