<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/codegen/enum-match.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-11T09:32:08+00:00</updated>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make enum-match.rs test robust against variable name changes</title>
<updated>2022-12-16T22:32:29+00:00</updated>
<author>
<name>Collin Baker</name>
<email>collinbaker@chromium.org</email>
</author>
<published>2022-12-16T22:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8751d3b2e9a2fa903822a1f9061c0fe2c4c0bef2'/>
<id>urn:sha1:8751d3b2e9a2fa903822a1f9061c0fe2c4c0bef2</id>
<content type='text'>
https://reviews.llvm.org/D140192 caused the LLVM variable generated
for enum discriminant checks to be named differently (%narrow vs %1).

This adjusts the test CHECK directives to match any name.
</content>
</entry>
<entry>
<title>rustc_codegen_ssa: Fix for codegen_get_discr</title>
<updated>2022-11-18T21:16:12+00:00</updated>
<author>
<name>Michael Benfield</name>
<email>mbenfield@google.com</email>
</author>
<published>2022-11-17T15:03:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=31c0645b9d2539f47eecb096142474b29dc542f7'/>
<id>urn:sha1:31c0645b9d2539f47eecb096142474b29dc542f7</id>
<content type='text'>
When doing the optimized implementation of getting the discriminant, the
arithmetic needs to be done in the tag type so wrapping behavior works
correctly.

Fixes #104519
</content>
</entry>
<entry>
<title>rustc_codegen_ssa: Better code generation for niche discriminants.</title>
<updated>2022-11-11T05:54:30+00:00</updated>
<author>
<name>Michael Benfield</name>
<email>mbenfield@google.com</email>
</author>
<published>2022-10-10T17:29:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=51918dcc51360d79cec771ef556ae9181ebaeb2e'/>
<id>urn:sha1:51918dcc51360d79cec771ef556ae9181ebaeb2e</id>
<content type='text'>
In some cases we can avoid arithmetic before checking whether a niche
represents an untagged variant.

This is relevant to #101872
</content>
</entry>
</feed>
