See https://reviews.llvm.org/D120996 and a54d028895c91da356a4aaf30e27a5a5b90dd313. Also https://github.com/llvm/llvm-project/issues/73664.