<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/mir-opt/inline/inline_shims.drop.Inline.panic-abort.diff, branch automation/bors/try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=automation/bors/try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-10-02T06:58:59+00:00</updated>
<entry>
<title>mir-opt: Eliminate dead statements even if they are used by debuginfos</title>
<updated>2025-10-02T06:58:59+00:00</updated>
<author>
<name>dianqk</name>
<email>dianqk@dianqk.net</email>
</author>
<published>2025-07-19T10:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8da04285cf6fe61587e16155a8b224dba64bf0be'/>
<id>urn:sha1:8da04285cf6fe61587e16155a8b224dba64bf0be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mir-opt: Eliminate trivial unnecessary storage annotations</title>
<updated>2025-10-02T06:55:51+00:00</updated>
<author>
<name>dianqk</name>
<email>dianqk@dianqk.net</email>
</author>
<published>2025-07-15T14:54:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=85b2f706939528b5796d98e82c183637f8338cd1'/>
<id>urn:sha1:85b2f706939528b5796d98e82c183637f8338cd1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mir-opt: Eliminate dead ref statements</title>
<updated>2025-10-02T06:55:50+00:00</updated>
<author>
<name>dianqk</name>
<email>dianqk@dianqk.net</email>
</author>
<published>2025-06-08T07:30:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=571412f8190089c36758031fe09fc0ece59be6b7'/>
<id>urn:sha1:571412f8190089c36758031fe09fc0ece59be6b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove intrinsics::drop_in_place</title>
<updated>2025-04-22T12:06:09+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2025-04-22T07:37:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e7efab9ec95449d6565fec41d94c69abf5d3088a'/>
<id>urn:sha1:e7efab9ec95449d6565fec41d94c69abf5d3088a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[mir-opt] GVN some more transmute cases</title>
<updated>2025-01-09T02:46:30+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2024-11-22T01:59:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8dcc676c9283b040d1ef6d66f156ff2212544b10'/>
<id>urn:sha1:8dcc676c9283b040d1ef6d66f156ff2212544b10</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Bless *all* the mir-opt tests</title>
<updated>2024-08-18T23:07:33+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2024-08-18T21:26:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad'/>
<id>urn:sha1:99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid MIR bloat in inlining</title>
<updated>2024-07-01T12:17:13+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2024-06-29T07:48:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=23c8ed14c938ab28873e88321ac0ad75842fa2c1'/>
<id>urn:sha1:23c8ed14c938ab28873e88321ac0ad75842fa2c1</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>[ACP 362] genericize `ptr::from_raw_parts`</title>
<updated>2024-05-29T16:34:16+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2024-05-29T02:00:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0d63e6b60843a9fb37b51e416b8cea6b146142d4'/>
<id>urn:sha1:0d63e6b60843a9fb37b51e416b8cea6b146142d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid a cast in `ptr::slice_from_raw_parts(_mut)`</title>
<updated>2024-05-06T08:53:54+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2024-05-06T08:44:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=61517dbbe6f1f41c935007fcdca5eba8be7477e2'/>
<id>urn:sha1:61517dbbe6f1f41c935007fcdca5eba8be7477e2</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Remove MIR unsafe check</title>
<updated>2024-04-03T08:50:12+00:00</updated>
<author>
<name>Matthew Jasper</name>
<email>mjjasper1@gmail.com</email>
</author>
<published>2024-02-27T11:57:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a277c901d95c5fcbb3dbd6608731eebb9e1a01ce'/>
<id>urn:sha1:a277c901d95c5fcbb3dbd6608731eebb9e1a01ce</id>
<content type='text'>
This also remove safety information from MIR.
</content>
</entry>
</feed>
