vitalybuka added a comment.
Intrinsics are invalid there, code is generated in such way that variable is
being accessed after lifetime.end.
I suspect that optimizer can make invalid code because of this, but I can't
So I think it's safer to remove them at all and don't wait for miscompile
Still if performance is greater concern than potential miscompiles, I can limit
this only to asan-use-after-scope.
cfe-commits mailing list