This change allows the PC to be used as a destination register for the pseudo instruction LDR Rt,=expression . The pseudo instruction must not be transformed into a MOV, but it can use the Thumb2 LDR (literal) instruction to a constant pool entry. See (A7.7.43 from ARMv7M ARM ARM).
There are no changes required to ARMAsmParser.cpp as the use of PC or SP already inhibits the transformation to MOV.
Link to v7 ARM ARM that does not require registration: https://developer.arm.com/products/architecture/m-profile/docs/ddi0403/e/armv7-m-architecture-reference-manual