<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/mir-opt/simplify_locals_fixedpoint.foo.SimplifyLocals.diff, branch 1.58.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.58.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.58.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-09-01T22:47:41+00:00</updated>
<entry>
<title>Fix drop handling for `if let` expressions</title>
<updated>2021-09-01T22:47:41+00:00</updated>
<author>
<name>Matthew Jasper</name>
<email>mjjasper1@gmail.com</email>
</author>
<published>2021-09-01T21:52:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff8c0ef0e47639b32fdba062851a1367a9cc9ae2'/>
<id>urn:sha1:ff8c0ef0e47639b32fdba062851a1367a9cc9ae2</id>
<content type='text'>
MIR lowering for `if let` expressions is now more complicated now that
`if let` exists in HIR. This PR adds a scope for the variables bound in
an `if let` expression and then uses an approach similar to how we
handle loops to ensure that we reliably drop the correct variables.
</content>
</entry>
<entry>
<title>Fix debugger stepping behavior around `match` expressions</title>
<updated>2021-08-25T19:17:22+00:00</updated>
<author>
<name>Wesley Wiser</name>
<email>wesleywiser@microsoft.com</email>
</author>
<published>2021-07-23T22:55:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0a42dfc2fa2b373aedf7a169da3f0ec0e996fc9f'/>
<id>urn:sha1:0a42dfc2fa2b373aedf7a169da3f0ec0e996fc9f</id>
<content type='text'>
Previously, we would set up the source lines for `match` expressions so
that the code generated to perform the test of the scrutinee was matched
to the line of the arm that required the test and then jump from the arm
block to the "next" block was matched to all of the lines in the `match`
expression.

While that makes sense, it has the side effect of causing strange
stepping behavior in debuggers.

I've changed the source information so that all of the generated tests
are sourced to `match {scrutinee}` and the jumps are sourced to the last
line of the block they are inside. This resolves the weird stepping
behavior in all debuggers and resolves some instances of "ambiguous
symbol" errors in WinDbg preventing the user from setting breakpoints at
`match` expressions.
</content>
</entry>
<entry>
<title>Revert "Revert "Auto merge of #83417 - erikdesjardins:enableremovezsts, r=oli-obk""</title>
<updated>2021-08-20T02:28:32+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2021-08-20T02:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6ea536d99b6cf84d52d066f70192844c34ecf650'/>
<id>urn:sha1:6ea536d99b6cf84d52d066f70192844c34ecf650</id>
<content type='text'>
This reverts commit 8e11199a153218c13a419df37a9bb675181cccb7.
</content>
</entry>
<entry>
<title>Revert "Auto merge of #83417 - erikdesjardins:enableremovezsts, r=oli-obk"</title>
<updated>2021-08-16T03:44:34+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2021-08-15T17:25:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8e11199a153218c13a419df37a9bb675181cccb7'/>
<id>urn:sha1:8e11199a153218c13a419df37a9bb675181cccb7</id>
<content type='text'>
This reverts commit 8007b506ac5da629f223b755f5a5391edd5f6d01, reversing
changes made to e55c13e1099b78b1a485202fabc9c1b10b1f1d15.
</content>
</entry>
<entry>
<title>Introduce hir::ExprKind::Let - Take 2</title>
<updated>2021-08-15T19:18:26+00:00</updated>
<author>
<name>Caio</name>
<email>c410.f3r@gmail.com</email>
</author>
<published>2021-08-08T14:49:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6aa9937a768bf13e5f7bd0ee6dd8579403b39058'/>
<id>urn:sha1:6aa9937a768bf13e5f7bd0ee6dd8579403b39058</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run RemoveZsts at mir-opt-level=1</title>
<updated>2021-08-07T15:20:46+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2021-03-23T16:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=585e4ae6e1ab354fb2f4e3290b3b7302953f7d89'/>
<id>urn:sha1:585e4ae6e1ab354fb2f4e3290b3b7302953f7d89</id>
<content type='text'>
Effectively reverts commit 6960bc9696b05b15d8d89ece2fef14e6e62a43fc.
</content>
</entry>
<entry>
<title>only run RemoveZsts at mir-opt-level 3 and above</title>
<updated>2021-03-22T22:30:56+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2021-03-22T22:30:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6960bc9696b05b15d8d89ece2fef14e6e62a43fc'/>
<id>urn:sha1:6960bc9696b05b15d8d89ece2fef14e6e62a43fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bless tests</title>
<updated>2021-03-16T01:58:54+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2021-03-16T01:58:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=90562b401ee63d05d2c96bb2240074dd528d9371'/>
<id>urn:sha1:90562b401ee63d05d2c96bb2240074dd528d9371</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Extend SimplifyLocals to remove ZST writes</title>
<updated>2021-03-13T22:58:11+00:00</updated>
<author>
<name>Simon Vandel Sillesen</name>
<email>simon.vandel@gmail.com</email>
</author>
<published>2020-12-29T22:32:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4e901be57d23d1da21ad2e516a831ad3c16bfd85'/>
<id>urn:sha1:4e901be57d23d1da21ad2e516a831ad3c16bfd85</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reintroduce hir::ExprKind::If</title>
<updated>2021-01-07T21:54:12+00:00</updated>
<author>
<name>Caio</name>
<email>c410.f3r@gmail.com</email>
</author>
<published>2021-01-01T18:38:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f85fc264fecf5ab8b16c152dde8a440055323424'/>
<id>urn:sha1:f85fc264fecf5ab8b16c152dde8a440055323424</id>
<content type='text'>
</content>
</entry>
</feed>
