[Openmp-commits] [PATCH] D93079: [OpenMP] Introduce an assumption to ignore possible external callers

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Dec 14 05:36:22 PST 2020


JonChesterfield added a comment.

Is this for cases where we are compiling a subset of the target code, i.e. without link time optimisation?

It's interesting that we might want a static function on the gpu and an external one on the cpu. The user could presumably make it static and provide a different, host-only function which calls it as a workaround.

I'm nervous about this one because it looks like a property the compiler should already be able to derive (given LTO, anyway), and I don't see how we can diagnose when the user annotation is inaccurate, e.g. because of changes elsewhere in the codebase after it was added.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93079



More information about the Openmp-commits mailing list