diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index 1a38619db72..07c71da46d6 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/lib/Target/ARM/ARMInstrThumb2.td @@ -156,7 +156,7 @@ multiclass T2I_bin_c_irs { // Move Instructions. // def tMOVi16 : PseudoInst<(outs GPR:$dst), (ins i32imm:$src), - "mov $dst, $src", + "movw $dst, $src", [(set GPR:$dst, imm0_65535:$src)]>, Requires<[HasThumb2]>;