https://github.com/linuxlonelyeagle approved this pull request. For me, the logic behind this pattern is quite interesting, and it looks good to me. I've left a few comments. https://github.com/llvm/llvm-project/pull/176641