[PATCH] D143204: Add a type_checked_load_relative to support relative function pointer tables

Arnold Schwaighofer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 10:58:42 PST 2023


aschwaighofer updated this revision to Diff 502733.
aschwaighofer added a comment.

Include test case where the llvm.type.checked.load.relative intrinsic is
expanded to compute the pointer underlying the relative pointer value.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143204/new/

https://reviews.llvm.org/D143204

Files:
  llvm/docs/LangRef.rst
  llvm/include/llvm/IR/Intrinsics.td
  llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
  llvm/lib/Analysis/TypeMetadataUtils.cpp
  llvm/lib/LTO/LTO.cpp
  llvm/lib/Transforms/IPO/GlobalDCE.cpp
  llvm/lib/Transforms/IPO/GlobalSplit.cpp
  llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
  llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl-check-relative.ll
  llvm/test/Transforms/WholeProgramDevirt/expand-check-relative.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143204.502733.patch
Type: text/x-patch
Size: 14482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230306/b90589ce/attachment.bin>


More information about the llvm-commits mailing list