<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp, branch 1.64.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.64.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.64.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-08-04T15:31:57+00:00</updated>
<entry>
<title>RustWrapper: update for TypedPointerType in LLVM</title>
<updated>2022-08-04T15:31:57+00:00</updated>
<author>
<name>Augie Fackler</name>
<email>augie@google.com</email>
</author>
<published>2022-08-04T15:31:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cdbe956ec386b3ffa6c8d03c2bea178394d09095'/>
<id>urn:sha1:cdbe956ec386b3ffa6c8d03c2bea178394d09095</id>
<content type='text'>
This is a result of https://reviews.llvm.org/D130592.
</content>
</entry>
<entry>
<title>Add elementtype attributes for llvm.arm.ldrex/strex intrinsics</title>
<updated>2022-07-27T14:19:07+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>npopov@redhat.com</email>
</author>
<published>2022-07-19T13:03:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f653d3ab30d4cab73af560f39b448ece2a49ff6c'/>
<id>urn:sha1:f653d3ab30d4cab73af560f39b448ece2a49ff6c</id>
<content type='text'>
These intrinsics (and a few more, but there are the only ones
exposed by stdarch) require an elementtype attribute in LLVM 15.
</content>
</entry>
<entry>
<title>Rollup merge of #99759 - bjorn3:remove_llvm_dead_code, r=nikic</title>
<updated>2022-07-27T02:52:56+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>jtitor@2k36.org</email>
</author>
<published>2022-07-27T02:52:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7f608e99dcc0704769c6e4e523da16591848b2fe'/>
<id>urn:sha1:7f608e99dcc0704769c6e4e523da16591848b2fe</id>
<content type='text'>
Remove dead code from cg_llvm

Found while working on https://github.com/rust-lang/rust/pull/97485
</content>
</entry>
<entry>
<title>codegen: use new {re,de,}allocator annotations in llvm</title>
<updated>2022-07-26T13:43:28+00:00</updated>
<author>
<name>Augie Fackler</name>
<email>augie@google.com</email>
</author>
<published>2022-03-21T19:30:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=130a1df71ea73ab9d66d3cb8fc9cdb43155d514b'/>
<id>urn:sha1:130a1df71ea73ab9d66d3cb8fc9cdb43155d514b</id>
<content type='text'>
This obviates the patch that teaches LLVM internals about
_rust_{re,de}alloc functions by putting annotations directly in the IR
for the optimizer.

The sole test change is required to anchor FileCheck to the body of the
`box_uninitialized` method, so it doesn't see the `allocalign` on
`__rust_alloc` and get mad about the string `alloca` showing up. Since I
was there anyway, I added some checks on the attributes to prove the
right attributes got set.

While we're here, we also emit allocator attributes on
__rust_alloc_zeroed. This should allow LLVM to perform more
optimizations for zeroed blocks, and probably fixes #90032. [This
comment](https://github.com/rust-lang/rust/issues/24194#issuecomment-308791157)
mentions "weird UB-like behaviour with bitvec iterators in
rustc_data_structures" so we may need to back this change out if things
go wrong.

The new test cases require LLVM 15, so we copy them into LLVM
14-supporting versions, which we can delete when we drop LLVM 14.
</content>
</entry>
<entry>
<title>Remove dead code from cg_llvm</title>
<updated>2022-07-26T11:29:18+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2022-07-26T11:29:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=017e1726ff658117f43854181fb75c6b26a53b88'/>
<id>urn:sha1:017e1726ff658117f43854181fb75c6b26a53b88</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add ShadowCallStack Support</title>
<updated>2022-07-20T13:43:34+00:00</updated>
<author>
<name>Ivan Lozano</name>
<email>ivanlozano@google.com</email>
</author>
<published>2022-06-17T18:14:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=adf61e3b2b72f4a06b3ac5cf90d49deda42da605'/>
<id>urn:sha1:adf61e3b2b72f4a06b3ac5cf90d49deda42da605</id>
<content type='text'>
Adds support for the LLVM ShadowCallStack sanitizer.
</content>
</entry>
<entry>
<title>Rollup merge of #98998 - workingjubilee:naked-means-no-clothes-enforcement-technology, r=Amanieu</title>
<updated>2022-07-18T15:44:43+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>99973273+Dylan-DPC@users.noreply.github.com</email>
</author>
<published>2022-07-18T15:44:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a027b01f33e3280dff1a7be09d6090151d3f78a9'/>
<id>urn:sha1:a027b01f33e3280dff1a7be09d6090151d3f78a9</id>
<content type='text'>
Remove branch target prologues from `#[naked] fn`

This patch hacks around rust-lang/rust#98768 for now via injecting appropriate attributes into the LLVMIR we emit for naked functions. I intend to pursue this upstream so that these attributes can be removed in general, but it's slow going wading through C++ for me.
</content>
</entry>
<entry>
<title>llvm-wrapper: adapt for LLVM API change</title>
<updated>2022-07-12T16:00:52+00:00</updated>
<author>
<name>Krasimir Georgiev</name>
<email>krasimir@google.com</email>
</author>
<published>2022-07-12T15:36:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a89d014a211386f2b0ead0d309a588c625d45514'/>
<id>urn:sha1:a89d014a211386f2b0ead0d309a588c625d45514</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stop emitting CET prologues for naked functions</title>
<updated>2022-07-07T05:44:54+00:00</updated>
<author>
<name>Jubilee Young</name>
<email>workingjubilee@gmail.com</email>
</author>
<published>2022-07-07T02:07:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=92174f988b0cde631ffac0dbcc9f8fca413d566e'/>
<id>urn:sha1:92174f988b0cde631ffac0dbcc9f8fca413d566e</id>
<content type='text'>
We can apply nocf_check as a hack for now.
</content>
</entry>
<entry>
<title>llvm-wrapper: adapt for LLVMConstExtractValue removal</title>
<updated>2022-06-30T12:47:34+00:00</updated>
<author>
<name>Krasimir Georgiev</name>
<email>krasimir@google.com</email>
</author>
<published>2022-06-29T14:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a3a88c73f104d11849a31ebbf1c4ff4b10fc1e8d'/>
<id>urn:sha1:a3a88c73f104d11849a31ebbf1c4ff4b10fc1e8d</id>
<content type='text'>
</content>
</entry>
</feed>
