aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-06-17 23:43:36 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-06-17 23:43:36 +0000
commit7c4f7dd43a84b233f94a1fe44faff42ac46b906d (patch)
tree6389ec27c7252fafff957c2c9789761b6b456d38
parentd61eca533081580d56fabee38f86507d8019ca75 (diff)
Fix asm string from MOVi16
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73661 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/ARM/ARMInstrThumb2.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td
index 1a38619db7..07c71da46d 100644
--- a/lib/Target/ARM/ARMInstrThumb2.td
+++ b/lib/Target/ARM/ARMInstrThumb2.td
@@ -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]>;