Also pass the MCRegInfo to createMCAsmInfo. Follow the modification introduced in commit r181680 of llvm