diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td index e4c1c8effde..de2d619dd4f 100644 --- a/lib/Target/X86/X86.td +++ b/lib/Target/X86/X86.td @@ -15,3 +15,20 @@ include "../Target.td" include "X86RegisterInfo.td" +//===----------------------------------------------------------------------===// +// Instruction Descriptions +//===----------------------------------------------------------------------===// + +def X86InstrInfo : InstrInfo { +} + +def X86 : Target { + // Specify the callee saved registers. + set CalleeSavedRegisters = [ESI, EDI, EBX, EBP]; + + // Yes, pointers are 32-bits in size. + set PointerType = i32; + + // Information about the instructions... + set InstructionSet = X86InstrInfo; +}