<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/mir-opt/pre-codegen/checked_ops.rs, branch stable</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=stable</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=stable'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-03-15T21:13:37+00:00</updated>
<entry>
<title>Add MIR pre-codegen tests to track 138544</title>
<updated>2025-03-15T21:13:37+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2025-02-27T01:40:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1cdddd67a333fd8e70334395ad33694a575037b4'/>
<id>urn:sha1:1cdddd67a333fd8e70334395ad33694a575037b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make `checked` ops emit *unchecked* LLVM operations where feasible</title>
<updated>2024-04-19T01:11:21+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2024-04-18T06:55:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=986d9f104b2da25f7388ad824b9868c3ce1e5f21'/>
<id>urn:sha1:986d9f104b2da25f7388ad824b9868c3ce1e5f21</id>
<content type='text'>
For things with easily pre-checked overflow conditions -- shifts and unsigned subtraction -- write then checked methods in such a way that we stop emitting wrapping versions of them.

For example, today &lt;https://rust.godbolt.org/z/qM9YK8Txb&gt; neither
```rust
a.checked_sub(b).unwrap()
```
nor
```rust
a.checked_sub(b).unwrap_unchecked()
```
actually optimizes to `sub nuw`.  After this PR they do.
</content>
</entry>
<entry>
<title>Update `checked_ops` so 32- and 64-bit gets the same checks</title>
<updated>2024-04-18T16:35:36+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2024-04-16T18:11:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6094063c35d3b3f7c07b6c069ebeb27797ddadc1'/>
<id>urn:sha1:6094063c35d3b3f7c07b6c069ebeb27797ddadc1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some only- clauses from mir-opt tests</title>
<updated>2024-03-18T14:07:43+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2024-03-17T15:23:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=68f284f337e468b6a32262419889f091bb3fa36a'/>
<id>urn:sha1:68f284f337e468b6a32262419889f091bb3fa36a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives</title>
<updated>2024-02-22T16:04:04+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2024-02-22T12:10:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6e48b96692d63a79a14563f27fe5185f122434f8'/>
<id>urn:sha1:6e48b96692d63a79a14563f27fe5185f122434f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow to run filecheck in mir-opt tests.</title>
<updated>2023-10-19T15:51:52+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2023-10-16T17:36:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4ff03cd1a49dbf08f24c7054d4fd478e87c3a4de'/>
<id>urn:sha1:4ff03cd1a49dbf08f24c7054d4fd478e87c3a4de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove some unnecessary ignore-debug clauses</title>
<updated>2023-08-24T12:10:18+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-08-24T11:46:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e4c4f9b9d9dff15a8292c04057e538f3f3dbf797'/>
<id>urn:sha1:e4c4f9b9d9dff15a8292c04057e538f3f3dbf797</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove brittle test.</title>
<updated>2023-06-01T21:41:58+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2023-05-24T18:24:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1ad37804a62ef2a1a8f613cca349bacc8fb510f0'/>
<id>urn:sha1:1ad37804a62ef2a1a8f613cca349bacc8fb510f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restrict test to x64.</title>
<updated>2023-06-01T21:41:58+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2023-05-21T07:57:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b90e1657449ca0a0c0907709f67276c7c583f3de'/>
<id>urn:sha1:b90e1657449ca0a0c0907709f67276c7c583f3de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Annotate needs-unwind.</title>
<updated>2023-06-01T21:41:58+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2023-05-17T20:26:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=36cae3a3a2291ececa4600727e2e170d113fe1b6'/>
<id>urn:sha1:36cae3a3a2291ececa4600727e2e170d113fe1b6</id>
<content type='text'>
</content>
</entry>
</feed>
