<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/rust.git/tests/codegen, branch master</title>
<subtitle>github.com: rust-lang/rust.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/rust.git/'/>
<entry>
<title>Auto merge of #111556 - cjgillot:copy-prop-nrvo, r=oli-obk</title>
<updated>2023-05-16T22:27:08+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-05-16T22:27:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/rust.git/commit/?id=5c3a3362f86f9748b4a6cb18b147893774a189ac'/>
<id>5c3a3362f86f9748b4a6cb18b147893774a189ac</id>
<content type='text'>
Merge return place with other locals in CopyProp.

This reintroduces a limited form of NRVO.

r? wg-mir-opt
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge return place with other locals in CopyProp.

This reintroduces a limited form of NRVO.

r? wg-mir-opt
</pre>
</div>
</content>
</entry>
<entry>
<title>Rollup merge of #111525 - scottmcm:slice-position-tweak, r=Mark-Simulacrum</title>
<updated>2023-05-15T15:12:45+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-05-15T15:12:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/rust.git/commit/?id=e52fbff5e8c2de7ba085ef84d7d50500b695d521'/>
<id>e52fbff5e8c2de7ba085ef84d7d50500b695d521</id>
<content type='text'>
Stop checking for the absence of something that doesn't exist

A couple of codegen tests are doing
```
// CHECK-NOT: slice_index_len_fail
```

However, that function no longer exists: [the only places](https://github.com/search?q=repo%3Arust-lang%2Frust+slice_index_len_fail&amp;type=code) it occurs in the repo are in those tests.

So this PR updates the tests to check for the absense of the functions that are actually used today to panic for out-of-bounds indexing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Stop checking for the absence of something that doesn't exist

A couple of codegen tests are doing
```
// CHECK-NOT: slice_index_len_fail
```

However, that function no longer exists: [the only places](https://github.com/search?q=repo%3Arust-lang%2Frust+slice_index_len_fail&amp;type=code) it occurs in the repo are in those tests.

So this PR updates the tests to check for the absense of the functions that are actually used today to panic for out-of-bounds indexing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge return place with other locals in CopyProp.</title>
<updated>2023-05-14T12:06:34+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2023-05-14T11:25:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/rust.git/commit/?id=f40f23587993a3f1afd1405cbcc56bc4324dd378'/>
<id>f40f23587993a3f1afd1405cbcc56bc4324dd378</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Auto merge of #111517 - lukas-code:addr-of-mutate, r=tmiasko</title>
<updated>2023-05-14T10:45:39+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-05-14T10:45:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/rust.git/commit/?id=3603a84a3d74d0b70dbbdaa47ed8f8a306f3fe7f'/>
<id>3603a84a3d74d0b70dbbdaa47ed8f8a306f3fe7f</id>
<content type='text'>
allow mutating function args through `&amp;raw const`

Fixes https://github.com/rust-lang/rust/issues/111502 by "turning off the sketchy optimization while we figure out if this is ok", like `@JakobDegen` said.

The first commit in this PR removes some suspicious looking logic from the same method, but should have no functional changes, since it doesn't modify the `context` outside of the method. Best reviewed commit by commit.

r? opsem
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
allow mutating function args through `&amp;raw const`

Fixes https://github.com/rust-lang/rust/issues/111502 by "turning off the sketchy optimization while we figure out if this is ok", like `@JakobDegen` said.

The first commit in this PR removes some suspicious looking logic from the same method, but should have no functional changes, since it doesn't modify the `context` outside of the method. Best reviewed commit by commit.

r? opsem
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop checking for the absense of something that doesn't exist</title>
<updated>2023-05-13T04:59:26+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2023-05-13T04:59:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/rust.git/commit/?id=a9570a34cde550cecf052d92f077bce1165cb3aa'/>
<id>a9570a34cde550cecf052d92f077bce1165cb3aa</id>
<content type='text'>
A couple of codegen tests are doing
```
// CHECK-NOT: slice_index_len_fail
```

However, that function no longer exists: [the only places](https://github.com/search?q=repo%3Arust-lang%2Frust+slice_index_len_fail&amp;type=code) it occurs in the repo are in those tests.

So this PR updates the tests to check for the absense of the functions that are actually used today to panic for out-of-bounds indexing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A couple of codegen tests are doing
```
// CHECK-NOT: slice_index_len_fail
```

However, that function no longer exists: [the only places](https://github.com/search?q=repo%3Arust-lang%2Frust+slice_index_len_fail&amp;type=code) it occurs in the repo are in those tests.

So this PR updates the tests to check for the absense of the functions that are actually used today to panic for out-of-bounds indexing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove useless `assume`s from `slice::iter(_mut)`</title>
<updated>2023-05-13T00:34:55+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2023-05-10T22:23:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/rust.git/commit/?id=c50a2e1d1742ca290aed840fb5273662b209b936'/>
<id>c50a2e1d1742ca290aed840fb5273662b209b936</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>allow mutating function args through `&amp;raw const`</title>
<updated>2023-05-12T22:00:51+00:00</updated>
<author>
<name>Lukas Markeffsky</name>
<email>@</email>
</author>
<published>2023-05-12T17:31:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/rust.git/commit/?id=9c418e5170a2fb125ae260af1fd94e538201888d'/>
<id>9c418e5170a2fb125ae260af1fd94e538201888d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rollup merge of #111375 - rcvalle:rust-cfi-fix-106547, r=bjorn3</title>
<updated>2023-05-12T00:43:07+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2023-05-12T00:43:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/rust.git/commit/?id=691a5f388396d4cad18421dba55ac770f7e7a7f9'/>
<id>691a5f388396d4cad18421dba55ac770f7e7a7f9</id>
<content type='text'>
CFI: Fix SIGILL reached via trait objects

Fix #106547 by transforming the concrete self into a reference to a trait object before emitting type metadata identifiers for trait methods.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CFI: Fix SIGILL reached via trait objects

Fix #106547 by transforming the concrete self into a reference to a trait object before emitting type metadata identifiers for trait methods.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rollup merge of #111385 - durin42:vec-panik-17, r=Amanieu</title>
<updated>2023-05-11T05:05:28+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-05-11T05:05:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/rust.git/commit/?id=acae72e4936a3a305564992a458fd4d03b9b1d0f'/>
<id>acae72e4936a3a305564992a458fd4d03b9b1d0f</id>
<content type='text'>
vec-shrink-panik: update expectations to work on LLVM 17

For some reason, the called function is `cleanup` on LLVM 17 instead of `filter`.

r? `@Amanieu`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vec-shrink-panik: update expectations to work on LLVM 17

For some reason, the called function is `cleanup` on LLVM 17 instead of `filter`.

r? `@Amanieu`
</pre>
</div>
</content>
</entry>
<entry>
<title>vec-shrink-panik: update expectations to work on LLVM 17</title>
<updated>2023-05-10T13:31:33+00:00</updated>
<author>
<name>Augie Fackler</name>
<email>augie@google.com</email>
</author>
<published>2023-05-09T09:52:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/rust.git/commit/?id=fbe479558c6ceac9065571842ab34dcd68375184'/>
<id>fbe479558c6ceac9065571842ab34dcd68375184</id>
<content type='text'>
For some reason, the called function is `cleanup` on LLVM 17 instead of
`filter`.

r? @Amanieu
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For some reason, the called function is `cleanup` on LLVM 17 instead of
`filter`.

r? @Amanieu
</pre>
</div>
</content>
</entry>
</feed>
