nikic wrote:

Some IR for reference: https://clang.godbolt.org/z/qEsP7vozW I believe that on 
unwind, the sret temporary is either entirely unused (if no cleanup landingpad 
is necessary) or we will call lifetime.end on it (which is legal for 
dead_on_unwind). This should be independent of whether copy elision is 
performed or not.

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

Reply via email to