<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/back, branch lcnr/rustc-dev-guide</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=lcnr/rustc-dev-guide'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-07-28T08:50:59+00:00</updated>
<entry>
<title>Auto merge of #144562 - matthiaskrgr:rollup-mlvn7qo, r=matthiaskrgr</title>
<updated>2025-07-28T08:50:59+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-28T08:50:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=65b6cdb6a6d33987b9d642a4882283c71fbe3957'/>
<id>urn:sha1:65b6cdb6a6d33987b9d642a4882283c71fbe3957</id>
<content type='text'>
Rollup of 7 pull requests

Successful merges:

 - rust-lang/rust#144072 (update `Atomic*::from_ptr` and `Atomic*::as_ptr` docs)
 - rust-lang/rust#144151 (`tests/ui/issues/`: The Issues Strike Back [1/N])
 - rust-lang/rust#144300 (Clippy fixes for miropt-test-tools)
 - rust-lang/rust#144399 (Add a ratchet for moving all standard library tests to separate packages)
 - rust-lang/rust#144472 (str: Mark unstable `round_char_boundary` feature functions as const)
 - rust-lang/rust#144503 (Various refactors to the codegen coordinator code (part 3))
 - rust-lang/rust#144530 (coverage: Infer `instances_used` from `pgo_func_name_var_map`)

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>use let chains in ast, borrowck, codegen, const_eval</title>
<updated>2025-07-28T01:08:48+00:00</updated>
<author>
<name>Kivooeo</name>
<email>Kivooeo123@gmail.com</email>
</author>
<published>2025-07-26T01:21:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=43725ed819c57b86b32a66c40572246b1f5b8952'/>
<id>urn:sha1:43725ed819c57b86b32a66c40572246b1f5b8952</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove support for -Zcombine-cgu</title>
<updated>2025-07-26T13:52:24+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-07-06T18:03:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=948f7798d70b6adb6a490b8867e155dadebd3f0e'/>
<id>urn:sha1:948f7798d70b6adb6a490b8867e155dadebd3f0e</id>
<content type='text'>
Nobody seems to actually use this, while still adding some extra
complexity to the already rather complex codegen coordinator code.
It is also not supported by any backend other than the LLVM backend.
</content>
</entry>
<entry>
<title>Use the object crate rather than LLVM for extracting bitcode sections</title>
<updated>2025-07-25T11:21:28+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-07-25T09:42:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fe2eeabe27ce3d5b871ab903e65b4707ad015764'/>
<id>urn:sha1:fe2eeabe27ce3d5b871ab903e65b4707ad015764</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #144062 - bjorn3:lto_refactors2, r=davidtwco</title>
<updated>2025-07-24T12:50:26+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2025-07-24T12:50:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5d22242a3a84a55be2f648a94eecff58887547f4'/>
<id>urn:sha1:5d22242a3a84a55be2f648a94eecff58887547f4</id>
<content type='text'>
Various refactors to the LTO handling code (part 2)

Continuing from https://github.com/rust-lang/rust/pull/143388 this removes a bit of dead code and moves the LTO symbol export calculation from individual backends to cg_ssa.
</content>
</entry>
<entry>
<title>Rollup merge of #142097 - ZuseZ4:offload-host1, r=oli-obk</title>
<updated>2025-07-21T16:54:24+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>39484203+jieyouxu@users.noreply.github.com</email>
</author>
<published>2025-07-21T16:54:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5e3eb2512591df0cef52404f0ea4202f58935a54'/>
<id>urn:sha1:5e3eb2512591df0cef52404f0ea4202f58935a54</id>
<content type='text'>
gpu offload host code generation

r? ghost

This will generate most of the host side code to use llvm's offload feature.
The first PR will only handle automatic mem-transfers to and from the device.
So if a user calls a kernel, we will copy inputs back and forth, but we won't do the actual kernel launch.
Before merging, we will use LLVM's Info infrastructure to verify that the memcopies match what openmp offloa generates in C++. `LIBOMPTARGET_INFO=-1 ./my_rust_binary` should print that a memcpy to and later from the device is happening.

A follow-up PR will generate the actual device-side kernel which will then do computations on the GPU.
A third PR will implement manual host2device and device2host functionality, but the goal is to minimize cases where a user has to overwrite our default handling due to performance issues.

I'm trying to get a full MVP out first, so this just recognizes GPU functions based on magic names. The final frontend will obviously move this over to use proper macros, like I'm already doing it for the autodiff work.
This work will also be compatible with std::autodiff, so one can differentiate GPU kernels.

Tracking:
- https://github.com/rust-lang/rust/issues/131513
</content>
</entry>
<entry>
<title>Remove each_linked_rlib_for_lto from CodegenContext</title>
<updated>2025-07-21T07:58:44+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-07-06T16:59:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dadc4cae501d9fa515a6cd3b7fe546db13b44a7b'/>
<id>urn:sha1:dadc4cae501d9fa515a6cd3b7fe546db13b44a7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move exported_symbols_for_lto out of CodegenContext</title>
<updated>2025-07-21T07:58:44+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-07-06T16:06:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1a6f941d2b1e9f9987518961d3bc49e2691aab2e'/>
<id>urn:sha1:1a6f941d2b1e9f9987518961d3bc49e2691aab2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge exported_symbols computation into exported_symbols_for_lto</title>
<updated>2025-07-21T07:58:44+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-07-06T15:57:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6e757354ada32657886a9ec944c389cb93b9c919'/>
<id>urn:sha1:6e757354ada32657886a9ec944c389cb93b9c919</id>
<content type='text'>
And move exported_symbols_for_lto call from backends to cg_ssa.
</content>
</entry>
<entry>
<title>Move LTO symbol export calculation from backends to cg_ssa</title>
<updated>2025-07-21T07:58:44+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-07-04T14:59:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1c8dc6f4405124b092dc534d17d4b13f29a4adae'/>
<id>urn:sha1:1c8dc6f4405124b092dc534d17d4b13f29a4adae</id>
<content type='text'>
</content>
</entry>
</feed>
