fix an incorrect (overly conservative) predicate.
authorChris Lattner <sabre@nondot.org>
Sat, 27 Feb 2010 08:18:55 +0000 (08:18 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 27 Feb 2010 08:18:55 +0000 (08:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97316 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86Instr64bit.td

index 3b5ba3b64d146e70e95310150d7d20d80465f885..49fc85344c790b385d37ff75c858f39818310fa9 100644 (file)
@@ -562,7 +562,7 @@ def ADC64mi8 : RIi8<0x83, MRM2m, (outs), (ins i64mem:$dst, i64i8imm :$src2),
                   addr:$dst)]>;
 def ADC64mi32 : RIi32<0x81, MRM2m, (outs), (ins i64mem:$dst, i64i32imm:$src2),
                       "adc{q}\t{$src2, $dst|$dst, $src2}",
-                 [(store (adde (load addr:$dst), i64immSExt8:$src2), 
+                 [(store (adde (load addr:$dst), i64immSExt32:$src2), 
                   addr:$dst)]>;
 } // Uses = [EFLAGS]