<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/back/write.rs, 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-05T11:11:27+00:00</updated>
<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>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>
<entry>
<title>Use `c`-prefixed string</title>
<updated>2023-06-08T05:24:35+00:00</updated>
<author>
<name>Kai Luo</name>
<email>lkail@cn.ibm.com</email>
</author>
<published>2023-06-08T05:24:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7b79cb1759fce014f23267ce7884ba8d6ab402e7'/>
<id>urn:sha1:7b79cb1759fce014f23267ce7884ba8d6ab402e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support embedding bitcode on AIX</title>
<updated>2023-06-08T05:22:57+00:00</updated>
<author>
<name>Kai Luo</name>
<email>lkail@cn.ibm.com</email>
</author>
<published>2023-03-23T09:27:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5725561e169fa38f5f151a90f8924ee4cb3c6052'/>
<id>urn:sha1:5725561e169fa38f5f151a90f8924ee4cb3c6052</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use new c literals instead of cstr! macro</title>
<updated>2023-05-31T16:40:24+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2023-05-16T15:43:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a17561ffc90c900cb7d0e96b00c6381244764ef7'/>
<id>urn:sha1:a17561ffc90c900cb7d0e96b00c6381244764ef7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Output LLVM optimization remark kind in `-Cremark` output</title>
<updated>2023-05-04T13:39:21+00:00</updated>
<author>
<name>Jakub Beránek</name>
<email>berykubik@gmail.com</email>
</author>
<published>2023-05-04T13:39:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=00ac29d7b2e7a9a2da79f8754efc8e0d51e81886'/>
<id>urn:sha1:00ac29d7b2e7a9a2da79f8754efc8e0d51e81886</id>
<content type='text'>
</content>
</entry>
<entry>
<title>replace LLVMRustAppendModuleInlineAsm with LLVMAppendModuleInlineAsm, LLVMRustMetadataTypeInContext with LLVMMetadataTypeInContext</title>
<updated>2023-04-04T12:12:35+00:00</updated>
<author>
<name>klensy</name>
<email>klensy@users.noreply.github.com</email>
</author>
<published>2023-04-02T15:26:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=076116bb4ca84801e5f513fc7cf280c55f32e8c4'/>
<id>urn:sha1:076116bb4ca84801e5f513fc7cf280c55f32e8c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add OpenHarmony targets</title>
<updated>2023-03-28T15:01:13+00:00</updated>
<author>
<name>Amanieu d'Antras</name>
<email>amanieu@gmail.com</email>
</author>
<published>2022-11-10T10:06:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e3968be331aaf7fa48f2365998ed4d076ddc82c8'/>
<id>urn:sha1:e3968be331aaf7fa48f2365998ed4d076ddc82c8</id>
<content type='text'>
- `aarch64-unknown-linux-ohos`
- `armv7-unknown-linux-ohos`
</content>
</entry>
<entry>
<title>record llvm cgu instruction stats</title>
<updated>2023-02-25T08:18:56+00:00</updated>
<author>
<name>csmoe</name>
<email>csmoe@msn.com</email>
</author>
<published>2022-11-03T14:34:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a30de6e7cb1458e271ead5e40e49dbe709275537'/>
<id>urn:sha1:a30de6e7cb1458e271ead5e40e49dbe709275537</id>
<content type='text'>
</content>
</entry>
</feed>
