opencilk-project icon indicating copy to clipboard operation
opencilk-project copied to clipboard

New builtin to get stack_frame object

Open VoxSciurorum opened this issue 2 years ago • 0 comments

This pairs with a pull request to cheetah.

Add a C builtin __tapir_frame and IR intrinsic tapir_frame to get the current stack_frame object. These builtins return null if used outside of a Cilk region. Add a pointer to the stack_frame object as an argument when looking up a hyperobject view to avoid a TLS reference in the runtime.

VoxSciurorum avatar Oct 17 '23 20:10 VoxSciurorum