Fix asm string from MOVi16
authorAnton Korobeynikov <asl@math.spbu.ru>
Wed, 17 Jun 2009 23:43:36 +0000 (23:43 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Wed, 17 Jun 2009 23:43:36 +0000 (23:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73661 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrThumb2.td

index 1a38619db72b2d1e9584ed1c210f5d396c5ded32..07c71da46d6217938fd5764f2cf5e1039f589653 100644 (file)
@@ -156,7 +156,7 @@ multiclass T2I_bin_c_irs<string opc, PatFrag opnode> {
 //  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]>;