<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src, branch 1.85.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.85.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.85.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-01-23T16:45:35+00:00</updated>
<entry>
<title>When LLVM's location discriminator value limit is exceeded, emit locations with dummy spans instead of dropping them entirely</title>
<updated>2025-01-23T16:45:35+00:00</updated>
<author>
<name>Kyle Huey</name>
<email>khuey@kylehuey.com</email>
</author>
<published>2025-01-17T17:44:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4595e112d0c76cd2717f56f6a596f7ebc35f1461'/>
<id>urn:sha1:4595e112d0c76cd2717f56f6a596f7ebc35f1461</id>
<content type='text'>
Revert most of #133194 (except the test and the comment fixes). Then refix
not emitting locations at all when the correct location discriminator value
exceeds LLVM's capacity.

(cherry picked from commit 45ef92731b637a60cbad7cecf5382361bbf40531)
</content>
</entry>
<entry>
<title>Remove range-metadata amdgpu workaround</title>
<updated>2025-01-02T14:45:04+00:00</updated>
<author>
<name>Flakebi</name>
<email>flakebi@t-online.de</email>
</author>
<published>2025-01-02T12:10:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=56bf673f0a1698a4ebcd2d29bfbcc2c0220148ac'/>
<id>urn:sha1:56bf673f0a1698a4ebcd2d29bfbcc2c0220148ac</id>
<content type='text'>
Range metadata was disabled for amdgpu due to a backend bug. I did not
encounter any problems when removing the workaround to enable range
metadata (tried compiling `core` and `alloc`), so I assume this has
been fixed in LLVM in the last years.

Remove the workaround to re-enable range metadata.
</content>
</entry>
<entry>
<title>upstream rustc_codegen_llvm changes for enzyme/autodiff</title>
<updated>2025-01-01T20:42:45+00:00</updated>
<author>
<name>Manuel Drehwald</name>
<email>git@manuel.drehwald.info</email>
</author>
<published>2025-01-01T20:42:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d753cbf7793f20229ed7a151d060456a9e1396e9'/>
<id>urn:sha1:d753cbf7793f20229ed7a151d060456a9e1396e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add llvm_floatabi field to target spec that controls FloatABIType</title>
<updated>2024-12-30T20:59:05+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-12-30T18:08:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a0dbb37ebd7919df4b698deb356e024a741283ec'/>
<id>urn:sha1:a0dbb37ebd7919df4b698deb356e024a741283ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_llvm: expose FloatABIType target machine parameter</title>
<updated>2024-12-30T17:10:59+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-12-30T17:10:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fff026c8e572809cfce7202ec1ad63897b72c5b0'/>
<id>urn:sha1:fff026c8e572809cfce7202ec1ad63897b72c5b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make -Csoft-float have an effect on all ARM targets</title>
<updated>2024-12-29T10:10:36+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-12-29T10:10:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=62bb35ab5d99dc0b7d6cc77687b09e94ccd228c6'/>
<id>urn:sha1:62bb35ab5d99dc0b7d6cc77687b09e94ccd228c6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Override `carrying_mul_add` in cg_llvm</title>
<updated>2024-12-27T16:17:40+00:00</updated>
<author>
<name>Scott McMurray</name>
<email>scottmcm@users.noreply.github.com</email>
</author>
<published>2024-11-30T06:51:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4669c0d756ddfbd3df0ee1d5c7a4b1cdaabf5945'/>
<id>urn:sha1:4669c0d756ddfbd3df0ee1d5c7a4b1cdaabf5945</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some dead code around import library generation</title>
<updated>2024-12-20T15:20:15+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2024-12-20T15:20:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c02c311d84a919f6be3b797866100214c91c5b68'/>
<id>urn:sha1:c02c311d84a919f6be3b797866100214c91c5b68</id>
<content type='text'>
This was missed when replacing the usage of LLVM for generating import
libraries.
</content>
</entry>
<entry>
<title>Rollup merge of #134497 - Zalathar:spans, r=jieyouxu</title>
<updated>2024-12-19T14:26:16+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-12-19T14:26:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=57cbd078f2748d9af7ef76694becc7c9096140b9'/>
<id>urn:sha1:57cbd078f2748d9af7ef76694becc7c9096140b9</id>
<content type='text'>
coverage: Store coverage source regions as `Span` until codegen (take 2)

This is an attempt to re-land #133418:

&gt; Historically, coverage spans were converted into line/column coordinates during the MIR instrumentation pass.

&gt; This PR moves that conversion step into codegen, so that coverage spans spend most of their time stored as Span instead.

&gt; In addition to being conceptually nicer, this also reduces the size of coverage mappings in MIR, because Span is smaller than 4x u32.

That PR was reverted by #133608, because in some circumstances not covered by our test suite we were emitting coverage metadata that was causing `llvm-cov` to exit with an error (#133606).

---

The implementation here is *mostly* the same, but adapted for subsequent changes in the relevant code (e.g. #134163).

I believe that the changes in #134163 should be sufficient to prevent the problem that required the original PR to be reverted. But I haven't been able to reproduce the original breakage in a regression test, and the `llvm-cov` error message is extremely unhelpful, so I can't completely rule out the possibility of this breaking again.

r? jieyouxu (reviewer of the original PR)
</content>
</entry>
<entry>
<title>coverage: Add a synthetic test for when all spans are discarded</title>
<updated>2024-12-19T11:03:43+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2024-12-19T10:53:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aced4dcf1047aab08b769b34fae9d4ba7de87f04'/>
<id>urn:sha1:aced4dcf1047aab08b769b34fae9d4ba7de87f04</id>
<content type='text'>
</content>
</entry>
</feed>
