[all-commits] [llvm/llvm-project] 98eb8a: Add a type_checked_load_relative to support relati...
Arnold Schwaighofer via All-commits
all-commits at lists.llvm.org
Thu Jun 29 08:34:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 98eb8abff6ad5c2e2f95fd1189b35a24f2800b32
https://github.com/llvm/llvm-project/commit/98eb8abff6ad5c2e2f95fd1189b35a24f2800b32
Author: Arnold Schwaighofer <aschwaighofer at apple.com>
Date: 2023-06-29 (Thu, 29 Jun 2023)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/include/llvm/IR/Intrinsics.td
M llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
M llvm/lib/Analysis/TypeMetadataUtils.cpp
M llvm/lib/LTO/LTO.cpp
M llvm/lib/Transforms/IPO/GlobalDCE.cpp
M llvm/lib/Transforms/IPO/GlobalSplit.cpp
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
A llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl-check-relative.ll
A llvm/test/Transforms/WholeProgramDevirt/expand-check-relative.ll
Log Message:
-----------
Add a type_checked_load_relative to support relative function pointer tables
This adds a type_checked_load_relative intrinsic whose semantics it is to
load a relative function pointer.
A relative function pointer is a pointer to a 32bit value that when
added to its address yields the address of the function.
Differential Revision: https://reviews.llvm.org/D143204
More information about the All-commits
mailing list