https://github.com/arsenm commented: The physreg handling is a bit off here, but it's the less important case. It's more important to get the virtual register case correct first https://github.com/llvm/llvm-project/pull/140255