ABataev added a comment.

Entry 0 is the address that should be passed to the kernel (for the captured 
variable, that's why it is marked as TGT_TARGET_PARAM - target kernel 
argument), entries 1-3 are the actual mappings. Yes, I assume the frontend can 
fuse these entries in many cases, but it is different problem that should be 
addressed in a separate patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86119

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

Reply via email to