MOVi16 should also be marked as a UnaryDP instruction, i.e., it doesn't have a
authorJohnny Chen <johnny.chen@apple.com>
Mon, 1 Feb 2010 23:06:04 +0000 (23:06 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Mon, 1 Feb 2010 23:06:04 +0000 (23:06 +0000)
Rn operand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95025 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td

index d2ccba638c02a7cd8395d3bea0195ef014d6c142..e7ee61f3b87bdcb1209709bae4da15d20cb0969d 100644 (file)
@@ -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;
 }