Rearrange fields yet again: Don't instantiate these lists ONCE PER INSTRUCTION.
authorChris Lattner <sabre@nondot.org>
Sun, 3 Aug 2003 21:52:28 +0000 (21:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 3 Aug 2003 21:52:28 +0000 (21:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7535 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Target.td

index 948b2cec9a8c083e56cfd853800a575cb961b0c8..b55693c2f516f2078592c64ec78bc0be3fd90665 100644 (file)
@@ -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<string> TargetInfoFields = [];
-  list<int>    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<string> TSFlagsFields = [];
+  list<int>    TSFlagsShifts = [];
 }