https://github.com/erichkeane approved this pull request. The patch makes sense to me, though my knowledge of this function is limited. Please give @cor3ntin a chance to look at it too in case he sees something I don't. https://github.com/llvm/llvm-project/pull/73018