rust/compiler/rustc_codegen_ssa
Erik Desjardins 8ebd307d2a use GEP inbounds for ZST and DST field offsets
For the former, it's fine for `inbounds` offsets to be one-past-the-end,
so it's okay even if the ZST is the last field in the layout:

> The base pointer has an in bounds address of an allocated object,
> which means that it points into an allocated object, or to its end.

https://llvm.org/docs/LangRef.html#getelementptr-instruction

For the latter, even DST fields must always be inside the layout
(or to its end for ZSTs), so using inbounds is also fine there.
2024-03-04 09:32:33 -05:00
..
src use GEP inbounds for ZST and DST field offsets 2024-03-04 09:32:33 -05:00
Cargo.toml rustc: Fix wasm64 metadata object files 2024-02-23 13:13:01 -08:00
messages.ftl check that simd_insert/extract indices are in-bounds 2024-02-23 19:43:59 +01:00
README.md

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.