rjmccall added a reviewer: GorNishanov.
rjmccall added a comment.

I imagine Gor hoped for this optimization to be implemented someday, assuming 
it's still allowed by the language specification.  Maybe you would be 
interested in pursuing that?  It sounds like it's really just (1) emitting the 
intrinsic in the frontend and then (2) checking if the copied parameter 
variable is actually used after reaching a suspend point, other than in ways 
that wouldn't happen if the intrinsic returned false.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115222

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

Reply via email to