aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/X86')
-rw-r--r--lib/Target/X86/X86InstrInfo.td4
1 files changed, 2 insertions, 2 deletions
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 @@ let PrintMethod = "printCallOperand" in
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