tianshilei1992 added a comment.

We probably don't need the index for `size_t size`. If the `ArgNo` is out of 
range, we simply return `nullptr`. Besides, CUDA function `cudaLaunchKernel` 
doesn't have an argument for size as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98134

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

Reply via email to