[PATCH] D108787: [CUDA] Pass ExecConfig through BuildCallToMemberFunction

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 27 11:01:10 PDT 2021


tra added a comment.

In D108787#2968503 <https://reviews.llvm.org/D108787#2968503>, @yaxunl wrote:

> need a test for non-template static member function as kernel. also need codegen tests.

I've added more tests for different code paths leading to the kernel call. Interestingly enough, only the a0 actually calls `BuildCallToMemberFunction`. Other variants go through different code paths that handle the call without it.

As for the codegen, all kernel calls that make it to `clang::Sema::BuildResolvedCallExpr` with launch config are handled the same way. I don't think codegen tests will buy us much.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108787



More information about the cfe-commits mailing list