This patch adds a function attribute to the kernel function generated in
OpenMP offloading. We already create a nvvm.annotations metadata node
indicating the kernels present in the program. However, this created
some indirection when trying to identify if a specific function was an
entry. We add a single function attribute for each function now to
simplify this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo