https://github.com/hubert-reinterpretcast commented: As long as the prologue uses `mfcr`, the epilogue can just use `mtcr`. That will restore the value of all of the CR fields (including the non-volatile/callee saved ones). https://github.com/llvm/llvm-project/pull/202339