[PATCH] D118604: [RS4GC] Make PointerToBase mapping be global. NFC.

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 31 06:24:02 PST 2022


skatkov created this revision.
skatkov added reviewers: reames, yrouban.
Herald added a subscriber: hiraditya.
skatkov requested review of this revision.
Herald added a project: LLVM.

PointerToBase is a mapping between potentially derived pointer to its base.
As soon as we are in SSA form If there is a base of derived pointer and it
is available at def of derived pointer, the same base will be available at any
point where derived pointer is alive.

So the mapping of derived pointer to base pointer is a global property but
property of a call site.


https://reviews.llvm.org/D118604

Files:
  llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118604.404500.patch
Type: text/x-patch
Size: 14709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220131/5aa49bbf/attachment.bin>


More information about the llvm-commits mailing list