This reverts commit e588085af03ba4be14a502806918fd74ca1cf367 to fix a crash reported in https://github.com/llvm/llvm-project/pull/123360#issuecomment-2627439245
This reverts commit e588085af03ba4be14a502806918fd74ca1cf367 to fix a crash reported in https://github.com/llvm/llvm-project/pull/123360#issuecomment-2627439245