diff --git a/lib/Target/Target.td b/lib/Target/Target.td index 75d3d7b4f82..bb87265be3b 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -173,6 +173,13 @@ class Instruction { InstrItinClass Itinerary = NoItinerary;// Execution steps used for scheduling. } +/// Imp - Helper class for specifying the implicit uses/defs set for an +/// instruction. +class Imp uses, list defs> { + list Uses = uses; + list Defs = defs; +} + /// Predicates - These are extra conditionals which are turned into instruction /// selector matching code. Currently each predicate is just a string. class Predicate { diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index f7a5af20f99..ac3a985344f 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -228,11 +228,6 @@ class X86Inst opcod, Format f, ImmType i, dag ops, string AsmStr> bits<3> FPFormBits = 0; } -class Imp uses, list defs> { - list Uses = uses; - list Defs = defs; -} - // Prefix byte classes which are used to indicate to the ad-hoc machine code // emitter that various prefix bytes are required.