[PATCH] D150565: [AMDGPU] Add an option to disable manual ctor / dtor lowering

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 07:46:17 PDT 2023


jhuber6 added a comment.

In D150565#4346193 <https://reviews.llvm.org/D150565#4346193>, @arsenm wrote:

> Typo "on't" in commit message.
>
> What's the long term plan here? I'd prefer to move towards something that acts like a consistent platform rather than sometimes lowering these based on a debug flag. What would be setting this?

I'm currently working on a patch to make this more common at least so we simply traverse the init / fini sections inside this kernel call. The reason for this patch is simply that this method of construction requires a kernel call while the `libc` project I'm working on chooses to perform this step manually. So I would simply like the idea to optionally disable the extra handling if it's not needed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150565



More information about the llvm-commits mailing list