aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2005-12-08 02:15:07 +0000
committerEvan Cheng <evan.cheng@apple.com>2005-12-08 02:15:07 +0000
commit670fd8f8dd19b238f8adda6a07091c37f99d9f90 (patch)
treed88713f7076195ce4803b77c5e6a9c59ef030369 /lib/Target/X86
parent3aa39f439a0971a2502b2c728a8006becaf96601 (diff)
downloadexternal_llvm-670fd8f8dd19b238f8adda6a07091c37f99d9f90.zip
external_llvm-670fd8f8dd19b238f8adda6a07091c37f99d9f90.tar.gz
external_llvm-670fd8f8dd19b238f8adda6a07091c37f99d9f90.tar.bz2
Added explicit type field to ComplexPattern.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24637 91177308-0d34-0410-b5e6-96231b3b80d8
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