efriedma-quic wrote:

> the baseline code generation uses memset over the entire union when the size 
> is large

That looks like an unintended side-effect of CheckAggExprForMemSetUse: it's 
supposed to check how much of the initialization is non-zero, but it's assuming 
all padding needs to be zeroed.  Which we weren't explicitly doing before, but 
I guess it's convenient here. And given nobody has filed a bug report for this 
(I think?), it doesn't seem this memset is causing significant issues for 
anyone.

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

Reply via email to