[PATCH] D150936: [Statepoints] Support for compressed pointers in the statepoint emission pass
Loïc Ottet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 19 00:24:08 PDT 2023
loicottet created this revision.
loicottet added a reviewer: reames.
Herald added a subscriber: hiraditya.
Herald added a project: All.
loicottet requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Adds a new GCStrategy to support two types of tracked pointers in the RewriteStatepointsForGC pass. When using this strategy, pointers in addrspace(2) will be saved as depot parameters to the rewritten statepoint calls, in addition to being inserted as GC parameters. This patch has been used by the LLVM backend of GraalVM's Native Image project in production for over a year with no major issues.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D150936
Files:
llvm/include/llvm/IR/GCStrategy.h
llvm/include/llvm/IR/IRBuilder.h
llvm/lib/IR/BuiltinGCs.cpp
llvm/lib/IR/IRBuilder.cpp
llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150936.523672.patch
Type: text/x-patch
Size: 10093 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230519/d7042e92/attachment.bin>
More information about the llvm-commits
mailing list