about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/context.rs
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-03-11 09:29:38 -0700
committerGitHub <noreply@github.com>2024-03-11 09:29:38 -0700
commit028e2600c9500736e9d7eff3a5f3271cc4cbd56e (patch)
treec32a3654a9e40326464050fda99e53d7b53ee6c8 /compiler/rustc_codegen_llvm/src/context.rs
parenta11e6c38b5901b25ae8c541a7414d50843afa25d (diff)
parenta7cd803d029d71ab4d111fca43ce33ba55fe9841 (diff)
downloadrust-028e2600c9500736e9d7eff3a5f3271cc4cbd56e.tar.gz
rust-028e2600c9500736e9d7eff3a5f3271cc4cbd56e.zip
Rollup merge of #122320 - erikdesjardins:vtable, r=nikic
Use ptradd for vtable indexing

Extension of #121665.

After this, the only remaining usages of GEP are [this](https://github.com/rust-lang/rust/blob/cd81f5b27ee00b49d413db50b5e6af871cebcf23/compiler/rustc_codegen_llvm/src/intrinsic.rs#L909-L920) kinda janky Emscription EH code, which I'll change in a future PR, and array indexing / pointer offsets, where there isn't yet a canonical `ptradd` form. (Out of curiosity I tried converting the latter to `ptradd(ptr, mul(size, index))`, but that causes codegen regressions right now.)

r? `@nikic`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
0 files changed, 0 insertions, 0 deletions