================ ---------------- kovdan01 wrote: As far as I understand from the definition of `getArgumentStackToRestore`, the result might be non-zero not only for tail calls. Would it be possible to add such test cases? https://github.com/llvm/llvm-project/pull/189484