cor3ntin wrote: Do you have benchmarks? I wonder if we should use a small struct instead of pair, it would be slightly easier to maintain I think. Looks good otherwise. https://github.com/llvm/llvm-project/pull/70543