This is a reapply of https://github.com/llvm/llvm-project/pull/92328 and
https://github.com/llvm/llvm-project/pull/93839.
It now passes the
[test](de3f1b6d68),
which crashes with the original reverted changes.
6.5 KiB
6.5 KiB