david-arm wrote: Can you add a brief comment explaining the motivation for this NFC refactoring in relation to the epilogue tail-folding work? You could also add a link to the follow-on PR as a comment just for reference. https://github.com/llvm/llvm-project/pull/214379