From: Chris Lattner Date: Sun, 3 Aug 2003 21:52:28 +0000 (+0000) Subject: Rearrange fields yet again: Don't instantiate these lists ONCE PER INSTRUCTION. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=34a2068cb2898de7aa82a79373c362e1936d7c14;p=oota-llvm.git Rearrange fields yet again: Don't instantiate these lists ONCE PER INSTRUCTION. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7535 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Target.td b/lib/Target/Target.td index 948b2cec9a8..b55693c2f51 100644 --- a/lib/Target/Target.td +++ b/lib/Target/Target.td @@ -95,12 +95,6 @@ class Instruction { bit isCall = 0; // Is this instruction a call instruction? bit isTwoAddress = 0; // Is this a two address instruction? bit isTerminator = 0; // Is this part of the terminator for a basic block? - - // If the target wants to associate some target-specific information with each - // instruction, it should provide these two lists to indicate how to assemble - // the target specific information into the 32 bits available. - list TargetInfoFields = []; - list TargetInfoPositions = []; } // InstrInfo - This class should only be instantiated once to provide parameters @@ -109,6 +103,13 @@ class Instruction { class InstrInfo { Instruction PHIInst; Instruction NOOPInst; + + // If the target wants to associate some target-specific information with each + // instruction, it should provide these two lists to indicate how to assemble + // the target specific information into the 32 bits available. + // + list TSFlagsFields = []; + list TSFlagsShifts = []; }