efriedma added a comment.

> perhaps because they did char buf[256] = {0} though

Right, we need memcpy and memset to emit reasonable code for struct/array 
initialization and assignment.

We don't provide any library that includes memcpy/memset/memmove because of a 
combination of legacy, and that writing well-optimized versions is hard.  
Ideally, it probably makes sense.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144889

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

Reply via email to