aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-03 21:52:28 +0000
committerChris Lattner <sabre@nondot.org>2003-08-03 21:52:28 +0000
commit34a2068cb2898de7aa82a79373c362e1936d7c14 (patch)
tree15a524434d6479bf35f1debae3b9996cb6611643
parente109de3166484d9d2e111efd44bc05a60bd8b056 (diff)
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
-rw-r--r--lib/Target/Target.td13
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/Target/Target.td b/lib/Target/Target.td
index 948b2cec9a..b55693c2f5 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<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 = [];
}