[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
Tue May 23 01:22:55 PDT 2023


loicottet added a comment.

In D150936#4363043 <https://reviews.llvm.org/D150936#4363043>, @apilipenko wrote:

> This seems oddly specific to the runtime you are working on. Why do you need to put compressed pointers into deopt bundes? Is it just to communicate the set of live compressed pointers to the runtime? In this case, coupling with deopt operand bundles seems incidental. We might be missing a more general mechanism for keeping track of different kinds of live GC pointers separately.

I agree that a better mechanism to keep track of address spaces would be a better way to solve this.

> The information about the address space is preserved in the existing gc-live operand bundle. Can you use the address space of the pointers in the existing operand bundle for your purposes?

The problem we are facing is that we need to retrieve this information from the stack maps, which do not preserve address space information. I don't know how doable it is to change the stack map format to accommodate this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150936



More information about the llvm-commits mailing list