Skip to content

Commit d0b8781

Browse files
authoredMar 11, 2024
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`
2 parents a24fe25 + d2340fd commit d0b8781

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed
     

    0 commit comments

    Comments
     (0)
    Please sign in to comment.