<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/codegen/align-struct.rs, branch 1.26.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.26.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.26.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-01-22T21:36:13+00:00</updated>
<entry>
<title>Stabilized `#[repr(align(x))]` attribute (RFC 1358)</title>
<updated>2018-01-22T21:36:13+00:00</updated>
<author>
<name>Cameron Hart</name>
<email>cameron.hart@gmail.com</email>
</author>
<published>2017-12-25T23:24:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=651ea8ea44d8ac8a02dc357412eb73f830057cae'/>
<id>urn:sha1:651ea8ea44d8ac8a02dc357412eb73f830057cae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: don't use union layouts for tagged union enums.</title>
<updated>2017-12-26T20:36:20+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2017-12-25T23:40:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=97228f5e7b0d6a0dc5c97fa73fa7ab096e4eb58d'/>
<id>urn:sha1:97228f5e7b0d6a0dc5c97fa73fa7ab096e4eb58d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_trans: approximate ABI alignment for padding/union fillers.</title>
<updated>2017-12-15T09:35:32+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2017-12-10T15:35:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8a26e0422dc55b82577de3027800ca29a4d522b7'/>
<id>urn:sha1:8a26e0422dc55b82577de3027800ca29a4d522b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid unnecessary copies of arguments that are simple bindings</title>
<updated>2017-10-26T10:54:34+00:00</updated>
<author>
<name>Björn Steinbrink</name>
<email>bsteinbr@gmail.com</email>
</author>
<published>2017-10-11T18:49:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0473a4f1d8f5e10c1ec97b1f7b4918308e1c1090'/>
<id>urn:sha1:0473a4f1d8f5e10c1ec97b1f7b4918308e1c1090</id>
<content type='text'>
Initially MIR differentiated between arguments and locals, which
introduced a need to add extra copies assigning the argument to a
local, even for simple bindings. This differentiation no longer exists,
but we're still creating those copies, bloating the MIR and LLVM IR we
emit.

Additionally, the current approach means that we create debug info for
both the incoming argument (marking it as an argument), and then
immediately shadow it a local that goes by the same name. This can be
confusing when using e.g. "info args" in gdb, or when e.g. a debugger
with a GUI displays the function arguments separately from the local
variables, especially when the binding is mutable, because the argument
doesn't change, while the local variable does.
</content>
</entry>
<entry>
<title>Add simple `[repr(align)]` codegen test.</title>
<updated>2017-05-01T13:13:22+00:00</updated>
<author>
<name>Cameron Hart</name>
<email>cameron.hart@gmail.com</email>
</author>
<published>2017-05-01T13:13:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1dd082fb3e92e714f7d8e2f1de344a946b601141'/>
<id>urn:sha1:1dd082fb3e92e714f7d8e2f1de344a946b601141</id>
<content type='text'>
Checks alloca and memcpy are aligned correctly.
</content>
</entry>
</feed>
