<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_codegen_llvm/src/back/write.rs, branch 1.57.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.57.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.57.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-11-26T20:15:36+00:00</updated>
<entry>
<title>[1.57] Disable LLVM newPM by default</title>
<updated>2021-11-26T20:15:36+00:00</updated>
<author>
<name>Simonas Kazlauskas</name>
<email>git@kazlauskas.me</email>
</author>
<published>2021-11-24T19:13:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=150bd8ba76722a46fd8a7aacb81c7072a8b677dc'/>
<id>urn:sha1:150bd8ba76722a46fd8a7aacb81c7072a8b677dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Default to disabling the new pass manager for the s390x targets.</title>
<updated>2021-10-08T13:05:07+00:00</updated>
<author>
<name>Hans Kratz</name>
<email>hans@appfour.com</email>
</author>
<published>2021-10-08T10:10:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4593d78e96253ccf8440605f8db49c09ece48b8c'/>
<id>urn:sha1:4593d78e96253ccf8440605f8db49c09ece48b8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable AutoFDO.</title>
<updated>2021-10-06T19:36:52+00:00</updated>
<author>
<name>Michael Benfield</name>
<email>mbenfield@google.com</email>
</author>
<published>2021-05-07T07:41:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a17193dbb931ea0c8b66d82f640385bce8b4929a'/>
<id>urn:sha1:a17193dbb931ea0c8b66d82f640385bce8b4929a</id>
<content type='text'>
This largely involves implementing the options debug-info-for-profiling
and profile-sample-use and forwarding them on to LLVM.

AutoFDO can be used on x86-64 Linux like this:
rustc -O -Cdebug-info-for-profiling main.rs -o main
perf record -b ./main
create_llvm_prof --binary=main --out=code.prof
rustc -O -Cprofile-sample-use=code.prof main.rs -o main2

Now `main2` will have feedback directed optimization applied to it.

The create_llvm_prof tool can be obtained from this github repository:
https://github.com/google/autofdo

Fixes #64892.
</content>
</entry>
<entry>
<title>Auto merge of #89405 - GuillaumeGomez:fix-clippy-lints, r=cjgillot</title>
<updated>2021-10-02T10:52:09+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2021-10-02T10:52:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b27661eb33c74cb514dba059b47d86b6582ac1c2'/>
<id>urn:sha1:b27661eb33c74cb514dba059b47d86b6582ac1c2</id>
<content type='text'>
Fix clippy lints

I'm currently working on allowing clippy to run on librustdoc after a discussion I had with `@Mark-Simulacrum.` So in the meantime, I fixed a few lints on the compiler crates.
</content>
</entry>
<entry>
<title>Rollup merge of #89376 - andjo403:selfProfileUseAfterDropFix, r=Mark-Simulacrum</title>
<updated>2021-10-01T21:46:49+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2021-10-01T21:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1781e4b81af0440ce58b6905724df5d3e2afd548'/>
<id>urn:sha1:1781e4b81af0440ce58b6905724df5d3e2afd548</id>
<content type='text'>
Fix use after drop in self-profile with llvm events

self-profile with `-Z self-profile-events=llvm` have failed with a segmentation fault due to this use after drop.
this type of events can be more useful now that the new passmanager is the default.
</content>
</entry>
<entry>
<title>Fix clippy lints</title>
<updated>2021-10-01T21:17:19+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2021-09-30T17:38:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=759eba0a08ef80f958e671e822ad02e2b5409946'/>
<id>urn:sha1:759eba0a08ef80f958e671e822ad02e2b5409946</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #88820 - hlopko:add_pie_relocation_model, r=petrochenkov</title>
<updated>2021-10-01T16:18:16+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2021-10-01T16:18:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6f1e93058137eb606cbee5ef778d30b379903f7c'/>
<id>urn:sha1:6f1e93058137eb606cbee5ef778d30b379903f7c</id>
<content type='text'>
Add `pie` as another `relocation-model` value

MCP: https://github.com/rust-lang/compiler-team/issues/461
</content>
</entry>
<entry>
<title>Add `pie` as another `relocation-model` value</title>
<updated>2021-10-01T06:06:42+00:00</updated>
<author>
<name>Marcel Hlopko</name>
<email>hlopko@google.com</email>
</author>
<published>2021-09-10T13:11:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=198d90786b9fb429928d70c423bad5d65374a532'/>
<id>urn:sha1:198d90786b9fb429928d70c423bad5d65374a532</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix use after drop in self-profile with llvm events</title>
<updated>2021-09-29T20:58:33+00:00</updated>
<author>
<name>Andreas Jonson</name>
<email>andjo403@users.noreply.github.com</email>
</author>
<published>2021-09-29T20:58:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d90934ce87352e7478f8c872a5a65363206082a0'/>
<id>urn:sha1:d90934ce87352e7478f8c872a5a65363206082a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable new pass manager on LLVM 13</title>
<updated>2021-09-25T09:24:23+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-08-21T20:20:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=be01f42f73137129f5998e626e0639270066f5c9'/>
<id>urn:sha1:be01f42f73137129f5998e626e0639270066f5c9</id>
<content type='text'>
The new pass manager is enabled by default in clang since
Clang/LLVM 13. While the discussion about this is still ongoing
(https://lists.llvm.org/pipermail/llvm-dev/2021-August/152305.html)
it's expected that support for the legacy pass manager will be
dropped either in LLVM 14 or 15.

This switches us to use the new pass manager if LLVM &gt;= 13 is used.
</content>
</entry>
</feed>
