about summary refs log tree commit diff
path: root/tests/mir-opt/inline/inline_shims.drop.Inline.panic-abort.diff
AgeCommit message (Collapse)AuthorLines
2025-04-22remove intrinsics::drop_in_placeRalf Jung-5/+5
2025-01-08[mir-opt] GVN some more transmute casesScott McMurray-12/+75
We already did `Transmute`-then-`PtrToPtr`; this adds the nearly-identical `PtrToPtr`-then-`Transmute`. It also adds `transmute(Foo(x))` → `transmute(x)`, when `Foo` is a single-field transparent type. That's useful for things like `NonNull { pointer: p }.as_ptr()`. Found these as I was looking at MCP807-related changes.
2024-08-18Bless *all* the mir-opt testsScott McMurray-2/+2
2024-07-01Avoid MIR bloat in inliningScott McMurray-48/+10
In 126578 we ended up with more binary size increases than expected. This change attempts to avoid inlining large things into small things, to avoid that kind of increase, in cases when top-down inlining will still be able to do that inlining later.
2024-05-29[ACP 362] genericize `ptr::from_raw_parts`Scott McMurray-1/+3
2024-05-06Avoid a cast in `ptr::slice_from_raw_parts(_mut)`Scott McMurray-10/+46
Casting to `*const ()` or `*mut ()` just bloats the MIR, so let's not. If ACP#362 goes through we can keep calling `ptr::from_raw_parts(_mut)` in these also without the cast, but that hasn't had any libs-api attention yet, so I'm not waiting on it.
2024-04-03Remove MIR unsafe checkMatthew Jasper-12/+8
This also remove safety information from MIR.
2023-06-15Remove comments from mir-opt MIR dumpsBen Kimock-45/+37
2023-06-12bless mir-optPietro Albini-0/+72
To reproduce the changes in this commit locally: - Run `./x test tidy` and remove all the output files not associated with a test file anymore, as reported by tidy. - Run `./x test tests/mir-opt --bless` to generate the new outputs.