JonChesterfield added a comment.

OK, so that's a different thing. CUDA/HIP has a bunch of rules about implicitly 
tagging things with addrspace(1) at the call boundary. I don't think any of 
that magic should exist for C or C++, the developer gets to spell out the 
address space stuff they want explicitly, and if they want to link it against 
CUDA/HIP/OpenMP code they get to look up the rules. In particular, persuading 
clang to do the extra argument mangling stuff will get in the way of using this 
to create test cases.

I'm writing the corresponding test case for that now


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125970

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to