diff options
| author | bors <bors@rust-lang.org> | 2024-03-03 22:21:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-03 22:21:53 +0000 |
| commit | 70aa0b86c066e721012852a9851fdf8586117823 (patch) | |
| tree | c0afd2826bff536699dad76abb67b176afc6abd2 /compiler/rustc_codegen_gcc/src/back/write.rs | |
| parent | 516b6162a2ea8e66678c09e8243ebd83e4b8eeea (diff) | |
| parent | 401651015d837ebfe55928692a84de37ec8a3a4b (diff) | |
| download | rust-70aa0b86c066e721012852a9851fdf8586117823.tar.gz rust-70aa0b86c066e721012852a9851fdf8586117823.zip | |
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`
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions
