https://github.com/smeenai approved this pull request. I'm not familiar with the test, but the fix seems pretty straightforward, and hopefully bots have good coverage for this. https://github.com/llvm/llvm-project/pull/107926