efriedma-quic wrote:

Instead of Expr::mayBranchOut, I'd prefer to just unconditionally create the 
alloca, then delete it later if it turns out we didn't actually need to emit 
the branch.  Trying to explicitly compute whether there's a branch out seems 
both difficult, and potentially costly for compile-time.

I like the unified approach here for eh and non-eh cleanups.

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

Reply via email to