The interface for these instructions changed with support for mandatory tail calls, and now -1 indicates the CalleePopAmount argument is not valid. Unfortunately I didn't realise FastISel or GISel did calls at the time so didn't update them.
Should fix https://github.com/llvm/llvm-project/issues/52723.
clang-format: please reformat the code