yxsamliu wrote:

> > In practice this should be a single use of an internal function and should 
> > not require this hint. Is this papering over a different issue?
> 
> Why do you think it is an internal function? I thought it's an externally 
> callable stub.

Agree. OpenCL allows calling an external kernel function 
https://godbolt.org/z/ThPKfxKqo so the stub function should have external 
linkage.

https://github.com/llvm/llvm-project/pull/137769
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to