aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-02-01 23:06:04 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-02-01 23:06:04 +0000
commit92e63d817f9aa35afc5e37af8fa31e22463e61c4 (patch)
treef5665669f4d428c2648d54407a1a55a729952431 /lib
parent81b0c399278a4c5bbe4e3ab5a902cc9139db7717 (diff)
downloadexternal_llvm-92e63d817f9aa35afc5e37af8fa31e22463e61c4.zip
external_llvm-92e63d817f9aa35afc5e37af8fa31e22463e61c4.tar.gz
external_llvm-92e63d817f9aa35afc5e37af8fa31e22463e61c4.tar.bz2
MOVi16 should also be marked as a UnaryDP instruction, i.e., it doesn't have a
Rn operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index d2ccba6..e7ee61f 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -1015,7 +1015,7 @@ def MOVi16 : AI1<0b1000, (outs GPR:$dst), (ins i32imm:$src),
DPFrm, IIC_iMOVi,
"movw", "\t$dst, $src",
[(set GPR:$dst, imm0_65535:$src)]>,
- Requires<[IsARM, HasV6T2]> {
+ Requires<[IsARM, HasV6T2]>, UnaryDP {
let Inst{20} = 0;
let Inst{25} = 1;
}