yaxunl added a comment.

`__dynamic_cast` is part of standard C++ library. If we ever implement it for 
GPU, chances are we will use libc++abi with the same signature as other 
targets, i.e., the 2nd and 3rd arguments are generic pointers.

I feel it is safer to do an address space cast when calling the function 
instead of changing its signature.


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

https://reviews.llvm.org/D155870

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

Reply via email to