Changes in directory llvm/lib/Target/X86:
X86InstrInfo.td updated: 1.267 -> 1.268 --- Log message: Use generic iPTR instead i32 to represent pointer type. --- Diffs of the changes: (+3 -3) X86InstrInfo.td | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/lib/Target/X86/X86InstrInfo.td diff -u llvm/lib/Target/X86/X86InstrInfo.td:1.267 llvm/lib/Target/X86/X86InstrInfo.td:1.268 --- llvm/lib/Target/X86/X86InstrInfo.td:1.267 Tue May 16 02:21:53 2006 +++ llvm/lib/Target/X86/X86InstrInfo.td Wed May 17 16:21:41 2006 @@ -94,7 +94,7 @@ // *mem - Operand definitions for the funky X86 addressing mode operands. // -class X86MemOperand<string printMethod> : Operand<i32> { +class X86MemOperand<string printMethod> : Operand<iPTR> { let PrintMethod = printMethod; let NumMIOperands = 4; let MIOperandInfo = (ops GR32, i8imm, GR32, i32imm); @@ -131,8 +131,8 @@ // // Define X86 specific addressing mode. -def addr : ComplexPattern<i32, 4, "SelectAddr", []>; -def leaaddr : ComplexPattern<i32, 4, "SelectLEAAddr", +def addr : ComplexPattern<iPTR, 4, "SelectAddr", []>; +def leaaddr : ComplexPattern<iPTR, 4, "SelectLEAAddr", [add, mul, shl, frameindex]>; //===----------------------------------------------------------------------===// _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits