Added explicit type field to ComplexPattern.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 8 Dec 2005 02:15:07 +0000 (02:15 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 8 Dec 2005 02:15:07 +0000 (02:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24637 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.td

index 9399018fb93e15e6b87a5ee83dac1727fa16fb80..a0f4d925c90a4d3e1ebcc49919c0ebdc7faa284a 100644 (file)
@@ -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