https://github.com/kuhar commented: Looks fine to me but I haven't had cycles to review the logic in full. You may need to find another reviewer for that. https://github.com/llvm/llvm-project/pull/97697