rust/compiler/rustc_codegen_llvm/src/llvm
bors 70aa0b86c0 Auto merge of #121665 - erikdesjardins:ptradd, r=nikic
Always generate GEP i8 / ptradd for struct offsets

This implements #98615, and goes a bit further to remove `struct_gep` entirely.

Upstream LLVM is in the beginning stages of [migrating to `ptradd`](https://discourse.llvm.org/t/rfc-replacing-getelementptr-with-ptradd/68699). LLVM 19 will [canonicalize](https://github.com/llvm/llvm-project/pull/68882) all constant-offset GEPs to i8, which has roughly the same effect as this change.

Fixes #121719.

Split out from #121577.

r? `@nikic`
2024-03-03 22:21:53 +00:00
..
archive_ro.rs Use object instead of LLVM for reading bitcode from rlibs 2022-07-25 16:07:23 +00:00
diagnostic.rs llvm-wrapper: fix warning C4244 2024-02-21 12:18:59 +03:00
ffi.rs Auto merge of #121665 - erikdesjardins:ptradd, r=nikic 2024-03-03 22:21:53 +00:00
mod.rs Recognize AIX style archive kind 2023-04-19 11:10:47 +08:00