rust/compiler/rustc_codegen_llvm/src/llvm
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
..
archive_ro.rs Use object instead of LLVM for reading bitcode from rlibs 2022-07-25 16:07:23 +00:00
diagnostic.rs llvm-wrapper: fix warning C4244 2024-02-21 12:18:59 +03:00
ffi.rs Auto merge of #121298 - nikic:writable, r=cuviper 2024-04-25 04:31:56 +00:00
mod.rs Use the Align type when parsing alignment attributes 2024-04-01 03:05:55 +01:00