<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/codegen/issues, branch 1.75.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.75.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.75.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-09-21T20:20:58+00:00</updated>
<entry>
<title>adjust how closure/generator types and rvalues are printed</title>
<updated>2023-09-21T20:20:58+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2023-09-09T06:36:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4ec12f4b701d9be95143f3fa77b1f1af07de18c'/>
<id>urn:sha1:c4ec12f4b701d9be95143f3fa77b1f1af07de18c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Address feedback</title>
<updated>2023-09-06T22:16:22+00:00</updated>
<author>
<name>David Koloski</name>
<email>dkoloski@google.com</email>
</author>
<published>2023-09-06T22:13:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ddd8878d697ac0006b25000137d457093917ae12'/>
<id>urn:sha1:ddd8878d697ac0006b25000137d457093917ae12</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add regression test for LLVM 17-rc3 miscompile</title>
<updated>2023-09-06T02:23:48+00:00</updated>
<author>
<name>David Koloski</name>
<email>dkoloski@google.com</email>
</author>
<published>2023-09-06T02:21:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c18da3ccd4cca6295bba599324962a469aae9aa9'/>
<id>urn:sha1:c18da3ccd4cca6295bba599324962a469aae9aa9</id>
<content type='text'>
See #115385 for more details.
</content>
</entry>
<entry>
<title>Cherry-pick test for issue #114312</title>
<updated>2023-08-15T09:33:45+00:00</updated>
<author>
<name>DianQK</name>
<email>dianqk@dianqk.net</email>
</author>
<published>2023-08-11T16:24:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c12c0841ad01d1239a1bd009610da2263ecde40b'/>
<id>urn:sha1:c12c0841ad01d1239a1bd009610da2263ecde40b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CHECK only for opaque ptr</title>
<updated>2023-07-27T21:44:13+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2023-07-27T21:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=da47736f42307e450a447889ebc563cddaf93ac2'/>
<id>urn:sha1:da47736f42307e450a447889ebc563cddaf93ac2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update the minimum external LLVM to 15</title>
<updated>2023-07-27T21:07:08+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2023-07-27T21:07:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=190ded84434f435b9626a07278b9ed0e7603bd11'/>
<id>urn:sha1:190ded84434f435b9626a07278b9ed0e7603bd11</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cg_llvm: use index-based loop in write_operand_repeatedly</title>
<updated>2023-06-11T04:04:53+00:00</updated>
<author>
<name>Erik Desjardins</name>
<email>erikdesjardins@users.noreply.github.com</email>
</author>
<published>2023-06-11T04:04:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bd0aae92dc76d9336cf09c097ac5a49fd619da44'/>
<id>urn:sha1:bd0aae92dc76d9336cf09c097ac5a49fd619da44</id>
<content type='text'>
This is easier for LLVM to analyze.
</content>
</entry>
<entry>
<title>Rollup merge of #111878 - ferrocene:pa-codegen-tests, r=Mark-Simulacrum</title>
<updated>2023-06-03T18:38:11+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2023-06-03T18:38:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bdf9ed497a4c40efa35bfe542791e3d1b502ce8b'/>
<id>urn:sha1:bdf9ed497a4c40efa35bfe542791e3d1b502ce8b</id>
<content type='text'>
Fix codegen test suite for bare-metal-like targets

For Ferrocene I needed to run the test suite for custom target with no unwinding and static relocation. Running the tests uncovered ~20 failures due to the test suite not accounting for these options. This PR fixes them by:

* Fixing `CHECK`s to account for functions having extra LLVM IR attributes (in this case `nounwind`).
* Fixing `CHECK`s to account for the `dso_local` LLVM IR modifier, which is [added to every item when relocation is static](https://github.com/rust-lang/rust/blob/f3d597b31c0f101a02c230798afa31a36bdacbc6/compiler/rustc_codegen_llvm/src/mono_item.rs#L139-L142).
* Fixing `CHECK`s to account for missing `uwtables` attributes.
* Added the `needs-unwind` attributes for tests that are designed to check unwinding.

There is no part of Rust CI that checks this unfortunately, and testing whether the PR works locally is kinda hard because you need a target with std enabled but no unwinding and static relocations. Still, this works in my local testing, and if future PRs accidentally break this Ferrocene will take care of sending followup PRs.
</content>
</entry>
<entry>
<title>Enable ScalarReplacementOfAggregates</title>
<updated>2023-05-31T23:18:16+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2023-05-26T18:53:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=79ba7b307d0d0120a95043d229f5420858981045'/>
<id>urn:sha1:79ba7b307d0d0120a95043d229f5420858981045</id>
<content type='text'>
</content>
</entry>
<entry>
<title>codegen: allow the dso_local attribute</title>
<updated>2023-05-23T14:54:33+00:00</updated>
<author>
<name>Pietro Albini</name>
<email>pietro.albini@ferrous-systems.com</email>
</author>
<published>2023-05-23T13:26:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dc1ed9ddd7d15dfe75453b68bc1da8ae32dbe1f7'/>
<id>urn:sha1:dc1ed9ddd7d15dfe75453b68bc1da8ae32dbe1f7</id>
<content type='text'>
The attribute is injected into most items when static relocation is
enabled in a target.
</content>
</entry>
</feed>
