diff options
| author | flip1995 <philipp.krones@embecosm.com> | 2022-04-21 13:58:25 +0100 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2022-06-14 14:50:52 +0200 |
| commit | e1c1d0f8c2fde787e346420b47c9205f52dc04d6 (patch) | |
| tree | 1f305405bbd1fa6bea564d2de4b39e17b88de186 /compiler/rustc_llvm/llvm-wrapper | |
| parent | d55787a155a34753c1dd8751dd2b77804aa8f442 (diff) | |
| download | rust-e1c1d0f8c2fde787e346420b47c9205f52dc04d6.tar.gz rust-e1c1d0f8c2fde787e346420b47c9205f52dc04d6.zip | |
Add llvm.type.checked.load intrinsic
Add the intrinsic
declare {i8*, i1} @llvm.type.checked.load(i8* %ptr, i32 %offset, metadata %type)
This is used in the VFE optimization when lowering loading functions
from vtables to LLVM IR. The `metadata` is used to map the function to
all vtables this function could belong to. This ensures that functions
from vtables that might be used somewhere won't get removed.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
