[PATCH] D106687: [OpenMP] Only register HeapToShared in the OpenMPOpt module pass

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 24 21:01:36 PDT 2021


jdoerfert added a comment.

In D106687#2902833 <https://reviews.llvm.org/D106687#2902833>, @jhuber6 wrote:

> In D106687#2902826 <https://reviews.llvm.org/D106687#2902826>, @jdoerfert wrote:
>
>> We should instead keep `noinline` on them till the CGSCC pass, at least for this one as it could trigger late even if it wasn't possible early.
>
> But we run the Module pass and CGSCC passes at different optimization levels right now. It's possible that H2S could remove something after more optimizations, but I haven't seen any examples of something failing to be moved to the stack because of optimizations.

not inlining alloc_shared/free_shared is probably not a real concern, it's slow either way.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106687



More information about the llvm-commits mailing list