================ @@ -0,0 +1,16 @@ +// Tests that during incremental HIP device compilation an inline __device__ +// helper referenced by a kernel has its definition emitted into the device +// module (rather than left as an external declaration). In incremental mode +// device code objects are not linked together, so a referenced inline/internal +// __device__ function must be re-emitted into the referencing module. + +// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -fcuda-is-device -fincremental-extensions -emit-llvm -o - %s | FileCheck %s ---------------- AdityaSinha149 wrote:
ok, i have opened a PR #218337 which is implementing the parser. Can you please review it. https://github.com/llvm/llvm-project/pull/218784 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
