Fix MOVCCi32imm to be have ARM-mode Requires and a proper size (8 bytes, was 4).
authorJim Grosbach <grosbach@apple.com>
Fri, 11 Mar 2011 18:00:42 +0000 (18:00 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 11 Mar 2011 18:00:42 +0000 (18:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127469 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td

index df270ad0c44d68952fc8cecf967ec710c96507b4..b6c447bb5c1e0b12fa9aaeaedd6867f6df554665 100644 (file)
@@ -3178,9 +3178,9 @@ def MOVCCi : ARMPseudoInst<(outs GPR:$Rd),
 
 // Two instruction predicate mov immediate.
 let isMoveImm = 1 in
-def MOVCCi32imm : PseudoInst<(outs GPR:$Rd),
-                             (ins GPR:$false, i32imm:$src, pred:$p),
-                  IIC_iCMOVix2, []>, RegConstraint<"$false = $Rd">;
+def MOVCCi32imm : ARMPseudoInst<(outs GPR:$Rd),
+                                (ins GPR:$false, i32imm:$src, pred:$p),
+                  Size8Bytes, IIC_iCMOVix2, []>, RegConstraint<"$false = $Rd">;
 
 let isMoveImm = 1 in
 def MVNCCi : AI1<0b1111, (outs GPR:$Rd),