efriedma added a comment.

We don't completely fall back if a subexpression fails to evaluate.  
EmitArrayInitialization etc. don't recursively visit; they use 
tryEmitPrivateForMemory, so we can fallback for subexpressions.  
(tryEmitPrivateForMemory can still fail for certain constructs, like the 
MaterializeTemporary cases we spent so much time on, but the most common cases 
should work.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156154

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

Reply via email to