When optimzing a mul by immediate into two, the resulting mul's should get a x86...
[oota-llvm.git] / lib / Target / X86 / X86Instr64bit.td
index 73e1f9814b056d8aa3b77f76df89b819a2564563..ce5a8a37032fac2a8d230c5c9a33e06c88e421a1 100644 (file)
@@ -36,8 +36,8 @@ def lea64_32mem : Operand<i32> {
 // Complex Pattern Definitions.
 //
 def lea64addr : ComplexPattern<i64, 4, "SelectLEAAddr",
-                               [add, mul, shl, or, frameindex, X86Wrapper],
-                               []>;
+                        [add, mul, X86mul_imm, shl, or, frameindex, X86Wrapper],
+                        []>;
 
 //===----------------------------------------------------------------------===//
 // Pattern fragments.