kparzysz added a comment. This made me wonder is the rewriter could handle "undef" uses (and just put the first physical register from an appropriate class), but I guess it doesn't really matter anymore. https://reviews.llvm.org/D35805