goldsteinn wrote: This is really really specific, if it shows up in realworld code I'm not opposed to getting it in, but is there some generalization of the pattern we can make? https://github.com/llvm/llvm-project/pull/108619