<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src, branch 1.72.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.72.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.72.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-07-06T08:10:42+00:00</updated>
<entry>
<title>Auto merge of #113377 - BoxyUwU:move_ty_ctors_to_ty, r=compiler-errors</title>
<updated>2023-07-06T08:10:42+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-07-06T08:10:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4dd1719b3406d80f539d2f49e9842f3563908632'/>
<id>urn:sha1:4dd1719b3406d80f539d2f49e9842f3563908632</id>
<content type='text'>
Move `TyCtxt::mk_x` to `Ty::new_x` where applicable

Part of rust-lang/compiler-team#616

turns out there's a lot of places we construct `Ty` this is a ridiculously huge PR :S

r? `@oli-obk`
</content>
</entry>
<entry>
<title>Rollup merge of #113334 - fmease:revert-lexing-c-str-lits, r=compiler-errors</title>
<updated>2023-07-06T01:20:33+00:00</updated>
<author>
<name>fee1-dead</name>
<email>ent3rm4n@gmail.com</email>
</author>
<published>2023-07-06T01:20:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1830b80c2daf5b03d45ec69289e15b25cee97c7f'/>
<id>urn:sha1:1830b80c2daf5b03d45ec69289e15b25cee97c7f</id>
<content type='text'>
Revert the lexing of `c"…"` string literals

Fixes \[after beta-backport\] #113235.
Further progress is tracked in #113333.

This PR *manually* reverts parts of #108801 (since a git-revert would've been too coarse-grained &amp; messy)
and git-reverts #111647.

CC `@fee1-dead` (#108801) `@klensy` (#111647)
r? `@compiler-errors`

`@rustbot` label F-c_str_literals beta-nominated
</content>
</entry>
<entry>
<title>Rollup merge of #112791 - WaffleLapkin:wag_the_llvm, r=cuviper</title>
<updated>2023-07-06T01:20:31+00:00</updated>
<author>
<name>fee1-dead</name>
<email>ent3rm4n@gmail.com</email>
</author>
<published>2023-07-06T01:20:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e461502e06b171c05d4730b4d1a2846a1e5847fa'/>
<id>urn:sha1:e461502e06b171c05d4730b4d1a2846a1e5847fa</id>
<content type='text'>
llvm ffi: Expose `CallInst-&gt;setTailCallKind`

This is needed for the explicit tail calls experiment.
</content>
</entry>
<entry>
<title>Move `TyCtxt::mk_x` to `Ty::new_x` where applicable</title>
<updated>2023-07-05T19:27:07+00:00</updated>
<author>
<name>Boxy</name>
<email>supbscripter@gmail.com</email>
</author>
<published>2023-07-05T19:13:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12138b8e5e840b7446a0893e3cb02a9c05095930'/>
<id>urn:sha1:12138b8e5e840b7446a0893e3cb02a9c05095930</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "use new c literals instead of cstr! macro"</title>
<updated>2023-07-05T11:11:27+00:00</updated>
<author>
<name>León Orell Valerian Liehr</name>
<email>me@fmease.dev</email>
</author>
<published>2023-07-04T17:53:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3788b7ab32a6398e7563557f7b32f741f43704a3'/>
<id>urn:sha1:3788b7ab32a6398e7563557f7b32f741f43704a3</id>
<content type='text'>
This reverts commit a17561ffc90c900cb7d0e96b00c6381244764ef7.
</content>
</entry>
<entry>
<title>Move `coverageinfo::ffi` and `coverageinfo::map` out of SSA</title>
<updated>2023-07-05T10:40:40+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-07-05T08:04:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cb570d6bc1251f32a07d8ce173dc735be78a325f'/>
<id>urn:sha1:cb570d6bc1251f32a07d8ce173dc735be78a325f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove trait `CoverageInfoMethods`, since non-LLVM backends don't need it</title>
<updated>2023-07-05T10:40:40+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-07-05T07:56:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9c430d38cf10ec3fab459be00e87057e5cce55b0'/>
<id>urn:sha1:9c430d38cf10ec3fab459be00e87057e5cce55b0</id>
<content type='text'>
These methods are only ever called from within `rustc_codegen_llvm`, so they
can just be declared there as well.
</content>
</entry>
<entry>
<title>Narrow trait `CoverageInfoBuilderMethods` down to just one method</title>
<updated>2023-07-05T10:40:39+00:00</updated>
<author>
<name>Zalathar</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2023-07-05T07:39:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4169d0f756dde8b3e692610bddb3c948c5cd53ea'/>
<id>urn:sha1:4169d0f756dde8b3e692610bddb3c948c5cd53ea</id>
<content type='text'>
This effectively inlines most of `FunctionCx::codegen_coverage` into the LLVM
implementation of `CoverageInfoBuilderMethods`.
</content>
</entry>
<entry>
<title>Auto merge of #113040 - Kobzol:llvm-remark-streamer, r=tmiasko</title>
<updated>2023-07-02T12:48:44+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-07-02T12:48:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=131a03664ef90d6443dfb567ac19e5466baa937f'/>
<id>urn:sha1:131a03664ef90d6443dfb567ac19e5466baa937f</id>
<content type='text'>
Add `-Zremark-dir` unstable flag to write LLVM optimization remarks to YAML

This PR adds an option for `rustc` to emit LLVM optimization remarks to a set of YAML files, which can then be digested by existing tools, like https://github.com/OfekShilon/optview2. When `-Cremark-dir` is passed, and remarks are enabled (`-Cremark=all`), the remarks will be now written to the specified directory, **instead** of being printed to standard error output.  The files are named based on the CGU from which they are being generated.

Currently, the remarks are written using the LLVM streaming machinery, directly in the diagnostics handler. It seemed easier than going back to Rust and then form there back to C++ to use the streamer from the diagnostics handler. But there are many ways to implement this, of course, so I'm open to suggestions :)

I included some comments with questions into the code. Also, I'm not sure how to test this.

r? `@tmiasko`
</content>
</entry>
<entry>
<title>Add `rustc` option to output LLVM optimization remarks to YAML files</title>
<updated>2023-07-02T11:41:36+00:00</updated>
<author>
<name>Jakub Beránek</name>
<email>berykubik@gmail.com</email>
</author>
<published>2023-06-25T21:39:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=62728c7aaff0441b12057de8f1be620feb96652c'/>
<id>urn:sha1:62728c7aaff0441b12057de8f1be620feb96652c</id>
<content type='text'>
</content>
</entry>
</feed>
