https://github.com/cdevadas approved this pull request. Yep. we should update the resrevered registers for other post-RA passes. PEI could also exhibit similar challenges without this fix. LGTM with some nits. https://github.com/llvm/llvm-project/pull/221849