bors 284f94f9c0 Auto merge of #121298 - nikic:writable, r=cuviper
Set writable and dead_on_unwind attributes for sret arguments

Set the `writable` and `dead_on_unwind` attributes for `sret` arguments. This allows call slot optimization to remove more memcpy's.

See https://llvm.org/docs/LangRef.html#parameter-attributes for the specification of these attributes. In short, the statement we're making here is that:

 * The return slot is writable.
 * The return slot will not be read if the function unwinds.

Fixes https://github.com/rust-lang/rust/issues/90595.
2024-04-25 04:31:56 +00:00
..
2023-12-31 15:27:43 +08:00
2024-04-10 10:06:44 -07:00
2024-04-16 21:13:21 -04:00
2024-03-11 09:15:09 +11:00
2024-02-24 18:53:48 +03:00
2024-03-12 08:51:20 +00:00
2024-03-06 17:49:37 -08:00