This is an archive of the discontinued LLVM Phabricator instance.

[openmp] Generalise function instantiation macro from dlwrap
Needs ReviewPublic

Authored by JonChesterfield on Mar 11 2022, 3:57 PM.

Details

Summary

Generalise the instantiation boilerplate for easier reuse elsewhere

Now compiles without <tuple>, i.e. on a GPU for potential use in D121467.
Splitting type into a separate parameter allows use with overloaded functions.

Diff Detail