david-xl wrote:

All addressed.

It still covers the motivating case, abseil's CordRepFlat::New, which allocates 
through an always_inline malloc_span helper around __size_returning_new. With 
this patch on top of #244809 and #244802, __size_returning_new gets 
!{"absl::cord_internal::CordRepFlat", i1 false} at -O2 on both x86-64 ({ptr, 
i64}) and AArch64 ([2 x i64]); without it, it keeps the fallback token. At -O0, 
AArch64 is also covered (the span is stored to the temporary as a whole), while 
x86-64's field-wise return is not, as noted in the description. A conditional 
span (a phi of a rebuilt span and __size_returning_new) tags only 
__size_returning_new.

https://github.com/llvm/llvm-project/pull/244314
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to