Added explicit type field to ComplexPattern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24637 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index 9399018..a0f4d92 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -47,8 +47,8 @@
def brtarget : Operand<OtherVT>;
// Define X86 specific addressing mode.
-def addr : ComplexPattern<4, "SelectAddr", []>;
-def leaaddr : ComplexPattern<4, "SelectLEAAddr", [add]>;
+def addr : ComplexPattern<i32, 4, "SelectAddr", []>;
+def leaaddr : ComplexPattern<i32, 4, "SelectLEAAddr", [add]>;
// Format specifies the encoding used by the instruction. This is part of the
// ad-hoc solution used to emit machine instruction encodings by our machine