asb added a comment. Why not use MCRegisterInfo::getSubReg for this purpose, thus avoiding repeating information that's already present in ARMRegisterInfo.td? `MRI->getSubReg(QReg, ARM::dsub_0)` should replace the functionality of getDRegFromQReg. https://reviews.llvm.org/D37118