[llvm-commits] CVS: llvm/lib/Target/Target.td
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 4 00:00:28 PDT 2003
Changes in directory llvm/lib/Target:
Target.td updated: 1.9 -> 1.10
---
Log message:
Rearrange fields yet again: Don't instantiate these lists ONCE PER INSTRUCTION.
---
Diffs of the changes:
Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.9 llvm/lib/Target/Target.td:1.10
--- llvm/lib/Target/Target.td:1.9 Sun Aug 3 13:18:31 2003
+++ llvm/lib/Target/Target.td Sun Aug 3 16:52:28 2003
@@ -95,12 +95,6 @@
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 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 = [];
}
More information about the llvm-commits
mailing list