momchil-velikov wrote: > A quick look at #81141 suggests at worst you'd just move from the `std::optional<unsigned>` this patch would introduce to `std::optional<std::pair<unsigned,MachineInstr*>>`. Done. https://github.com/llvm/llvm-project/pull/87802