[all-commits] [llvm/llvm-project] 28c5e1: [RS4GC] Make PointerToBase mapping be independent ...

serguei-katkov via All-commits all-commits at lists.llvm.org
Mon Jan 31 20:48:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28c5e1b760ae781f81f4baace747f141290daed3
      https://github.com/llvm/llvm-project/commit/28c5e1b760ae781f81f4baace747f141290daed3
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2022-02-01 (Tue, 01 Feb 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp

  Log Message:
  -----------
  [RS4GC] Make PointerToBase mapping be independent on call site. NFC.

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 not a property
of a call site but the same on function level.

Reviewers: reames, yrouban
Reviewed By: reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D118604




More information about the All-commits mailing list