https://github.com/andykaylor commented: This looks mostly reasonable to me, but I'd like to have feedback from @xlauko. It looks like it would be NFC though. Are the new tests verifying anything that didn't work before this change? https://github.com/llvm/llvm-project/pull/142222